Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (59 loc) · 2.54 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (59 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[workspace]
members = ["crates/rustsdcmcp-core", "crates/rustsdcmcp"]
default-members = ["crates/rustsdcmcp-core", "crates/rustsdcmcp"]
resolver = "2"
[workspace.package]
version = "0.7.2"
edition = "2024"
rust-version = "1.89"
license = "MIT"
repository = "https://github.com/mechubsec/rustsdcmcp"
authors = ["fastrevmd-lab"]
[workspace.lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
dbg_macro = "deny"
todo = "deny"
unwrap_used = "warn"
[workspace.dependencies]
anyhow = "1"
async-trait = "0.1"
axum = "0.8"
axum-server = { version = "0.9", default-features = false, features = ["tls-rustls-no-provider"] }
clap = { version = "4", features = ["derive"] }
futures = "0.3"
hex = "0.4"
http = "1"
rand = "0.10"
rustix = { version = "1", features = ["process"] }
reqwest = { version = "0.13", default-features = false, features = ["json", "query", "stream", "rustls-no-provider"] }
rmcp = { version = ">=3.5.1,<4", features = ["server", "transport-io", "transport-streamable-http-server", "transport-streamable-http-server-session"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }
schemars = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.11"
thiserror = "2"
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", default-features = false, features = ["rt"] }
tower = { version = "0.5", features = ["util"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = "2"
uuid = { version = "1", features = ["v4"] }
zeroize = "1"
# mecmcp is consumed at an exact pinned version. Do not relax the tag.
mecmcp-audit = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-auth = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-changeset = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-redact = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-runtime = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-secret = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-server = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
mecmcp-transport = { version = "0.31.0", git = "https://github.com/mechubsec/mecmcp", tag = "v0.31.0" }
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"