-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
115 lines (104 loc) · 3.03 KB
/
Cargo.toml
File metadata and controls
115 lines (104 loc) · 3.03 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
111
112
113
114
115
[workspace]
members = ["bux", "bux-bwrap", "bux-cli", "bux-e2fs", "bux-guest", "bux-krun", "bux-oci", "bux-proto"]
default-members = ["bux"]
resolver = "3"
[workspace.package]
version = "0.7.0"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/qntx/bux"
[workspace.dependencies]
bux = { version = "0.7", path = "bux" }
bux-oci = { version = "0.7", path = "bux-oci" }
bux-proto = { version = "0.7", path = "bux-proto" }
bux-bwrap = { version = "0.1", path = "bux-bwrap" }
bux-krun = { version = "0.1", path = "bux-krun" }
bux-e2fs = { version = "0.1", path = "bux-e2fs" }
anyhow = "1"
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.5"
colored = "3.0"
dirs = "6"
oci-client = { version = "0.16", default-features = false, features = ["rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
libc = "0.2"
nix = { version = "0.31", features = ["fs", "ioctl", "process", "signal", "term"] }
postcard = { version = "1", features = ["alloc"] }
thiserror = "2"
tokio = { version = "1", features = ["macros", "rt", "io-util", "net", "time", "sync", "signal"] }
rusqlite = { version = "0.38", features = ["bundled"] }
tokio-vsock = "0.7"
bindgen = "0.72"
flate2 = "1"
tar = "0.4"
ureq = "3"
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true
[profile.dev]
debug = true
opt-level = 0
[profile.test]
opt-level = 2
[profile.ci]
debug = false
inherits = "dev"
[profile.bench]
debug = true
inherits = "release"
[workspace.lints.rust]
elided_lifetimes_in_paths = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
rust_2024_compatibility = { level = "warn", priority = -1 }
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[workspace.lints.clippy]
cargo = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"
complexity = { level = "warn", priority = -1 }
correctness = { level = "deny", priority = -1 }
dbg_macro = "warn"
doc_markdown = "allow"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
expect_used = "warn"
fn_params_excessive_bools = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
missing_docs_in_private_items = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
nursery = { level = "warn", priority = -1 }
option_if_let_else = "allow"
panic = "warn"
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
print_stderr = "warn"
print_stdout = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
style = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"