diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-06 17:20:40 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-06 17:20:40 +0800 |
| commit | e12f167de8e16baa78c86b09eab75201281d3f95 (patch) | |
| tree | 171ecf07053748ce7493efaeff5eefbc8645b2cb | |
| parent | 58a2c77dace3091fda4ba3903f700b8e928f90c1 (diff) | |
chore: update workspace configuration and dependencies
- Add examples to workspace members
- Update vcs_data dependencies structure
- Fix library re-export paths in main lib.rs
| -rw-r--r-- | Cargo.lock | 11 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/vcs_data/Cargo.toml | 4 | ||||
| -rw-r--r-- | src/lib.rs | 4 |
4 files changed, 19 insertions, 2 deletions
@@ -413,6 +413,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] +name = "examples" +version = "0.1.0" +dependencies = [ + "action_system", + "cfg_file", + "string_proc", + "tcp_connection", + "tokio", +] + +[[package]] name = "fiat-crypto" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -13,6 +13,8 @@ vcs = [] [workspace] members = [ + "examples", + "crates/utils/cfg_file", "crates/utils/cfg_file/cfg_file_derive", "crates/utils/cfg_file/cfg_file_test", diff --git a/crates/vcs_data/Cargo.toml b/crates/vcs_data/Cargo.toml index 07f1a6a..b3bc4a2 100644 --- a/crates/vcs_data/Cargo.toml +++ b/crates/vcs_data/Cargo.toml @@ -4,9 +4,13 @@ edition = "2024" version.workspace = true [dependencies] + +# Utils tcp_connection = { path = "../utils/tcp_connection" } cfg_file = { path = "../utils/cfg_file", features = ["default"] } string_proc = { path = "../utils/string_proc" } + +# Core action_system = { path = "../system_action" } # Identity @@ -1,8 +1,8 @@ // Feature `vcs` #[cfg(feature = "vcs")] pub mod vcs { - extern crate vcs; - pub use vcs::*; + extern crate vcs_data; + pub use vcs_data::*; extern crate vcs_actions; pub use vcs_actions::*; |
