diff options
| -rw-r--r-- | Cargo.toml | 11 | ||||
| -rw-r--r-- | src/lib.rs | 23 |
2 files changed, 2 insertions, 32 deletions
@@ -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 = [ @@ -3,27 +3,11 @@ 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 { |
