diff options
author | yuzu <yuzu@b9215c17-b818-4693-b096-d1e41a411fef> | 2025-08-01 08:48:17 +0000 |
---|---|---|
committer | yuzu <yuzu@b9215c17-b818-4693-b096-d1e41a411fef> | 2025-08-01 08:48:17 +0000 |
commit | 2df86268298de8a4961c3296c19b0767565453e8 (patch) | |
tree | 1f048c96efaeb0959e04ad4273a149a108491361 /Cargo.toml | |
parent | 40a65f981a664a186a52fc2981b99a6d8a1191d4 (diff) | |
download | salaryman-2df86268298de8a4961c3296c19b0767565453e8.tar.gz salaryman-2df86268298de8a4961c3296c19b0767565453e8.tar.bz2 salaryman-2df86268298de8a4961c3296c19b0767565453e8.zip |
git-svn-id: svn+ssh://diminuette.aengel.lesbianunix.dev/salaryman/trunk@17 b9215c17-b818-4693-b096-d1e41a411fef
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/Cargo.toml b/Cargo.toml index 384582a..807c500 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,35 +4,40 @@ version = "0.0.1" edition = "2024" authors = ["Ren Kararou <[email protected]>"] description = "A very simple service management framework" +readme = "README.md" +license = "MIT" +homepage = "https://sr.ht/~spicywolf/salaryman" +repository = "https://svn.lesbianunix.dev/viewvc/salaryman/trunk/" +categories = ["command-line-utilities"] +keywords = ["service-management", "unix"] +publish = ["crate-io"] [features] -default = ["models", "smd", "sm-cli"] -models = [] +#default = [] +default = ["protocol", "smd", "sm-cli"] +protocol = [ + "dep:bincode", +] smd = [ "dep:clap", "dep:rayon", "dep:toml", - "models", + "protocol", ] sm-cli = [ "dep:clap", "dep:toml", - "models", + "protocol", ] [dependencies] +bincode = { version = "2.0.1", features = ["serde"], optional = true } +clap = { version = "4.5.39", features = ["derive"], optional = true } rayon = { version = "1.10.0", optional = true } serde = { version = "1.0.219", features = ["derive"] } toml = { version = "0.8.22", optional = true } uuid = { version = "1.17.0", features = ["v4", "serde"] } -[dependencies.clap] -version = "4.5.39" -features = [ - "derive", -] -optional = true - [[bin]] name = "smd" path = "src/server/main.rs" |