Sets submodules to use workspace lints. Added denying unwrap as a workspace level lint, which found a couple of cases where we could have propagated errors. Also manually labeled ones that were fine by my eye.
18 lines
396 B
TOML
18 lines
396 B
TOML
[package]
|
|
name = "codex-common"
|
|
version = { workspace = true }
|
|
edition = "2024"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.40", optional = true }
|
|
clap = { version = "4", features = ["derive", "wrap_help"], optional = true }
|
|
codex-core = { path = "../core" }
|
|
|
|
[features]
|
|
# Separate feature so that `clap` is not a mandatory dependency.
|
|
cli = ["clap"]
|
|
elapsed = ["chrono"]
|