summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-21 16:37:51 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-21 18:53:30 +0800
commitd12a9691fab692845e03c8c178f1dded97cc1282 (patch)
tree55612e8ec9e2bae2d26c2d3ea028d1ea30a7fac7
parentc811c5818d21a67280ef9dd35ad40f6f5411daa5 (diff)
Good Bye! Legacy JVCSdevdeploy/nightly
-rw-r--r--Cargo.toml11
-rw-r--r--src/lib.rs23
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
@@ -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 {