-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (48 loc) · 1.58 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (48 loc) · 1.58 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
# chela workspace manifest.
[workspace]
resolver = "2"
members = [
"chela-primitives",
"chela-field",
"chela-sss",
"chela-bip39",
"chela-share",
"chela-engine",
"chela-tui",
"chela-cli",
"chela-wasm",
"chela-bundle",
]
# chela-share/fuzz is its own workspace so libfuzzer-sys stays out of the main build.
exclude = ["chela-share/fuzz"]
[workspace.package]
# Version: a pre-release of the 1.0.0 series. Bump the -beta.N counter for each
# beta; drop the pre-release suffix (-> "1.0.0") to cut the final release.
version = "1.0.0-beta.1"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SecretSplitKit/Chela"
rust-version = "1.89"
[workspace.lints.rust]
# Workspace default: deny `unsafe`; crates that genuinely need it opt in at the module level.
unsafe_code = "deny"
missing_debug_implementations = "warn"
unreachable_pub = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
# Release profile: tuned for reproducibility; per-target linker flags that strip
# nondeterministic blobs live in the release workflow as RUSTFLAGS.
[profile.release]
strip = "symbols"
debug = false
incremental = false
codegen-units = 1
lto = "thin"
overflow-checks = true
# `panic` is left at the default (`unwind`) deliberately: aborting on panic would skip
# Drop, including the `SecretString` zeroize destructor in chela-tui. With unwind, a
# panic still wipes secret-bearing buffers before the process exits.