From dd679c9f0cd0b936a9e3e480400097cd5115f499 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 20 Sep 2025 16:24:57 +0800 Subject: Update Cargo.toml 1. Rename feature `default` to `all` 2. Add feature `tcp_connection`, `string_proc`, `env` 3. Add crates `string_proc`, `env` to workspace 4. Removed crate `member_verify` --- Cargo.toml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 59d911b..405ace1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,11 +3,14 @@ name = "just_enough_vcs" version = "0.1.0" edition = "2024" license-file = "LICENSE-MIT.md" -authors = [ "Weicao-CatilGrass (GitHub)" ] +authors = ["Weicao-CatilGrass (GitHub)"] [features] -default = ["cfg_file"] +all = ["cfg_file", "tcp_connection", "string_proc", "env"] cfg_file = [] +tcp_connection = [] +string_proc = [] +env = [] [workspace] members = [ @@ -18,7 +21,9 @@ members = [ "crates/utils/tcp_connection", "crates/utils/tcp_connection/tcp_connection_test", - "crates/utils/member_verify", + "crates/utils/string_proc", + + "crates/env", ] [workspace.package] @@ -45,3 +50,7 @@ strip = "symbols" [dependencies] cfg_file = { path = "crates/utils/cfg_file" } +tcp_connection = { path = "crates/utils/tcp_connection" } +string_proc = { path = "crates/utils/string_proc" } + +env = { path = "crates/env" } -- cgit