-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
110 lines (91 loc) · 2.46 KB
/
Cargo.toml
File metadata and controls
110 lines (91 loc) · 2.46 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[workspace]
resolver = "2"
members = [
"crates/containust-common",
"crates/containust-core",
"crates/containust-image",
"crates/containust-runtime",
"crates/containust-compose",
"crates/containust-ebpf",
"crates/containust-sdk",
"crates/containust-tui",
"crates/containust-cli",
]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/containust/containust"
rust-version = "1.86.0"
[workspace.dependencies]
# Internal crates
containust-common = { path = "crates/containust-common" }
containust-core = { path = "crates/containust-core" }
containust-image = { path = "crates/containust-image" }
containust-runtime = { path = "crates/containust-runtime" }
containust-compose = { path = "crates/containust-compose" }
containust-ebpf = { path = "crates/containust-ebpf" }
containust-sdk = { path = "crates/containust-sdk" }
containust-tui = { path = "crates/containust-tui" }
containust-cli = { path = "crates/containust-cli" }
# CLI & TUI
clap = { version = "4.5", features = ["derive", "env", "unicode"] }
ratatui = "0.30"
crossterm = "0.29"
# Parsing & Graph
nom = "8"
petgraph = "0.8"
# Linux system
nix = { version = "0.31", features = ["mount", "sched", "signal", "user", "process", "fs", "hostname"] }
libc = "0.2"
# eBPF
aya = "0.13.1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
thiserror = "2"
anyhow = "1"
# Async runtime
tokio = { version = "1", features = ["full"] }
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Crypto
sha2 = "0.10"
# YAML parsing (for docker-compose converter)
serde_yaml = "0.9"
# Archive & compression
tar = "0.4"
flate2 = "1"
# HTTP client
reqwest = { version = "0.12", features = ["blocking"] }
# Utilities
which = "7"
ctrlc = "3"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
tempfile = "3"
[workspace.lints.rust]
unsafe_code = "warn"
missing_docs = "warn"
unused_results = "warn"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
dbg_macro = "warn"
print_stdout = "warn"
print_stderr = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = "symbols"
panic = "abort"
[profile.dev]
opt-level = 0
debug = true