-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (48 loc) · 1.2 KB
/
Cargo.toml
File metadata and controls
58 lines (48 loc) · 1.2 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
[package]
name = "spiceio"
version = "0.5.4"
edition = "2024"
description = "S3-compatible API proxy to SMB file shares"
license = "Apache-2.0"
[lib]
name = "spiceio"
path = "src/lib.rs"
[[bin]]
name = "spiceio"
path = "src/main.rs"
[dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "net", "io-util", "macros", "signal", "sync", "time"] }
hyper = { version = "1", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "server-graceful"] }
http-body = "1"
http-body-util = "0.1"
tower = { version = "0.5", features = ["util", "timeout"] }
http = "1"
bytes = "1"
percent-encoding = "2"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "crypto_bench"
harness = false
[[bench]]
name = "protocol_bench"
harness = false
[[bench]]
name = "s3_bench"
harness = false
[lints.rust]
warnings = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "deny"
unused_qualifications = "deny"
[lints.clippy]
all = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
cargo_common_metadata = "allow"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"