Files
llmx/codex-rs/Cargo.toml
jcoens-openai f3bd143867 Disallow expect via lints (#865)
Adds `expect()` as a denied lint. Same deal applies with `unwrap()`
where we now need to put `#[expect(...` on ones that we legit want. Took
care to enable `expect()` in test contexts.

# Tests

```
cargo fmt
cargo clippy --all-features --all-targets --no-deps -- -D warnings
cargo test
```
2025-05-12 08:45:46 -07:00

37 lines
771 B
TOML

[workspace]
resolver = "2"
members = [
"ansi-escape",
"apply-patch",
"cli",
"common",
"core",
"exec",
"execpolicy",
"mcp-client",
"mcp-server",
"mcp-types",
"tui",
]
[workspace.package]
version = "0.0.0"
# Track the edition for all workspace crates in one place. Individual
# crates can still override this value, but keeping it here means new
# crates created with `cargo new -w ...` automatically inherit the 2024
# edition.
edition = "2024"
[workspace.lints]
rust = { }
[workspace.lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[profile.release]
lto = "fat"
# Because we bundle some of these executables with the TypeScript CLI, we
# remove everything to make the binary as small as possible.
strip = "symbols"