-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (91 loc) · 2.2 KB
/
Cargo.toml
File metadata and controls
96 lines (91 loc) · 2.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
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
[workspace]
members = [
"adze-cli",
"hew-cabi",
"std/encoding/base64",
"std/encoding/csv",
"std/encoding/json",
"std/encoding/markdown",
"std/encoding/msgpack",
"std/encoding/protobuf",
"std/encoding/toml",
"std/encoding/xml",
"std/encoding/yaml",
"std/encoding/hex",
"std/crypto/crypto",
"std/crypto/jwt",
"std/crypto/password",
"std/net/dns",
"std/net/http",
"std/net/ipnet",
"std/net/mime",
"std/net/quic",
"std/net/smtp",
"std/net/tls",
"std/net/url",
"std/net/websocket",
"std/time/cron",
"std/time/datetime",
"std/text/regex",
"std/text/semver",
"std/sort",
"std/encoding/compress",
"std/math",
"std/misc/uuid",
"std/misc/log",
"hew-cli",
"hew-serialize",
"hew-lexer",
"hew-lib",
"hew-lsp",
"hew-parser",
"hew-runtime",
"hew-types",
"hew-observe",
"hew-wasm",
"hew-analysis",
"hew-astgen",
"hew-compile",
"hew-wirecodec",
"hew-capability-gen",
]
exclude = ["hew-parser/fuzz"]
resolver = "2"
[workspace.package]
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Stephen Olesen <slepp@slepp.ca>"]
[workspace.lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
[workspace.lints.clippy]
cargo = { level = "warn", priority = -1 }
# Remaining duplicates (bitflags, fallible-iterator, getrandom, hashbrown,
# rand_core, tower, winnow) are transitive — latest upstream versions still
# pull conflicting majors and we cannot resolve them.
multiple_crate_versions = "allow"
complexity = { level = "warn", priority = -1 }
correctness = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
undocumented_unsafe_blocks = "warn"
allow_attributes_without_reason = "warn"
# Rust 1.94 lints — allow until next sweep
ref_as_ptr = "allow"
decimal_bitwise_operands = "allow"
[profile.dev]
panic = "abort"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
panic = "abort"