From d12a9691fab692845e03c8c178f1dded97cc1282 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 21 Mar 2026 16:37:51 +0800 Subject: Good Bye! Legacy JVCS --- Cargo.toml | 11 ++--------- src/lib.rs | 23 ----------------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 65884aa..e174fd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,21 +5,14 @@ license-file = "LICENSE-MIT" authors = ["Weicao-CatilGrass (GitHub)"] [features] +default = ["lib"] all = ["utils", "lib"] -utils = [ - "cfg_file", - "data_struct", - "hex_display", - "sha1_hash", - "tcp_connection", -] -cfg_file = [] +utils = ["data_struct", "hex_display", "sha1_hash", "tcp_connection"] data_struct = [] hex_display = [] sha1_hash = [] tcp_connection = [] lib = [] -deprecated = [] [workspace] members = [ diff --git a/src/lib.rs b/src/lib.rs index bd3f9ef..89eea1c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,28 +2,12 @@ pub mod data; // Feature `lib` -#[cfg(feature = "lib")] -pub mod lib { - pub extern crate vcs_data; - pub use vcs_data::*; - - pub extern crate vcs_actions; - pub use vcs_actions::*; - - pub extern crate vcs_docs; - pub use vcs_docs::*; -} - #[cfg(feature = "lib")] pub mod system { pub mod asset_system { pub use asset_system::*; } - pub mod action_system { - pub use action_system::*; - } - pub mod sheet_system { pub use sheet_system::*; } @@ -51,13 +35,6 @@ pub mod system { } pub mod utils { - // Feature `cfg_file` - #[cfg(feature = "cfg_file")] - pub mod cfg_file { - extern crate cfg_file; - pub use cfg_file::*; - } - // Feature `data_struct` #[cfg(feature = "data_struct")] pub mod data_struct { -- cgit