-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (59 loc) · 1.89 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (59 loc) · 1.89 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
[workspace]
resolver = "2"
members = [
"crates/sb-cli",
"crates/sb-sandbox",
"crates/sb-policy",
"crates/sb-receipt",
]
[workspace.package]
version = "0.1.0-alpha.1"
edition = "2021"
rust-version = "1.78"
license = "Apache-2.0"
repository = "https://github.com/scopeblind/sb-runtime"
homepage = "https://scopeblind.com"
authors = ["ScopeBlind Contributors"]
[workspace.dependencies]
# In-workspace crates
sb-sandbox = { version = "0.1.0-alpha.1", path = "crates/sb-sandbox" }
sb-policy = { version = "0.1.0-alpha.1", path = "crates/sb-policy" }
sb-receipt = { version = "0.1.0-alpha.1", path = "crates/sb-receipt" }
# Core
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Crypto
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
rand = "0.8"
sha2 = "0.10"
hex = "0.4"
# CLI
clap = { version = "4.5", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Policy engine
cedar-policy = "4.5"
# Linux sandboxing — only built on cfg(target_os = "linux")
landlock = "0.4"
seccompiler = "0.5"
nix = { version = "0.29", features = ["process", "fs", "user"] }
[workspace.lints.rust]
unsafe_code = "deny"
[workspace.lints.clippy]
# v0.1-alpha: correctness + suspicious are hard errors; style / pedantic
# are warnings only (not CI-blocking) so contributors aren't blocked on
# nitpicks while the API surface is still settling. We'll tighten once
# v0.1.0 stable ships.
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
# Explicit bugs we always want to deny:
correctness = { level = "deny", priority = -1 }
suspicious = { level = "deny", priority = -1 }
perf = { level = "deny", priority = -1 }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true