ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/salaryman/trunk/Cargo.toml
Revision: 14
Committed: Sat Jul 12 06:17:38 2025 UTC (2 months, 4 weeks ago) by yuzu
File size: 972 byte(s)
Log Message:
add start, stop, restart endpoints

File Contents

# User Rev Content
1 yuzu 1 [package]
2     name = "salaryman"
3 yuzu 9 version = "0.0.1"
4 yuzu 1 edition = "2024"
5 yuzu 9 authors = ["Ren Kararou <[email protected]>"]
6     description = "A very simple service management framework"
7 yuzu 1
8 yuzu 11 [features]
9     default = ["smd"]
10 yuzu 13 smd = [
11     "dep:clap",
12     "dep:dropshot",
13     "dep:schemars",
14     "dep:toml",
15 yuzu 14 "dep:semver",
16 yuzu 13 ]
17 yuzu 11
18 yuzu 1 [dependencies]
19 yuzu 11 clap = { version = "4.5.39", features = ["derive"], optional = true }
20 yuzu 13 dropshot = { version = "0.16.2", features = ["usdt","usdt-probes"], optional = true }
21     schemars = { version = "0.8.22", features = ["uuid1"], optional = true }
22 yuzu 14 semver = { version = "1.0.26", optional = true }
23 yuzu 4 serde = { version = "1.0.219", features = ["derive"] }
24     tokio = { version = "1.45.1", features = ["full"] }
25 yuzu 11 toml = { version = "0.8.22", optional = true }
26 yuzu 13 uuid = { version = "1.17.0", features = ["v4", "serde"] }
27 yuzu 9
28     [[bin]]
29     name = "smd"
30 yuzu 11 path = "src/smd/main.rs"
31 yuzu 9 test = false
32     bench = false
33 yuzu 11 required-features = ["smd"]
34    
35     [profile.release]
36     strip = true
37     lto = "thin"
38     panic = "abort"
39     codegen-units = 1
40