-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (35 loc) · 940 Bytes
/
Cargo.toml
File metadata and controls
41 lines (35 loc) · 940 Bytes
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
[package]
name = "plugins_rust"
version = "1.0.0-BETA-1"
edition = "2021"
authors = ["MCP Gateway Contributors"]
description = "High-performance Rust implementations of MCP Gateway plugins"
license = "Apache-2.0"
repository = "https://github.com/IBM/mcp-context-forge"
[lib]
name = "plugins_rust"
crate-type = ["cdylib", "rlib"]
[dependencies]
pyo3 = { version = "0.27", features = ["abi3-py311"] }
regex = "1.12"
once_cell = "1.21"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
sha2 = "0.10"
uuid = { version = "1.18", features = ["v4"] }
[features]
# Extension module feature (for Python import)
extension-module = ["pyo3/extension-module"]
default = ["extension-module"]
[dev-dependencies]
criterion = { version = "0.7", features = ["html_reports"] }
proptest = "1.8"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
[[bench]]
name = "pii_filter"
harness = false