chir.rs/Cargo.toml

103 lines
2.6 KiB
TOML
Raw Permalink Normal View History

2024-11-26 07:41:01 +00:00
[workspace]
members = [
2024-12-03 09:23:07 +00:00
"chir-rs-castore", "chir-rs-client",
2024-11-26 07:41:01 +00:00
"chir-rs-config",
"chir-rs-db",
"chir-rs-gemini",
"chir-rs-http",
"chir-rs-http-api",
2024-11-28 13:46:37 +00:00
"chir-rs-misc",
2024-11-26 07:41:01 +00:00
]
resolver = "2"
[package]
name = "chir-rs"
version = "0.1.0"
edition = "2021"
[dependencies]
2024-11-27 10:16:57 +00:00
chir-rs-castore = { version = "0.1.0", path = "chir-rs-castore" }
2024-11-26 07:41:01 +00:00
chir-rs-config = { version = "0.1.0", path = "chir-rs-config" }
chir-rs-db = { version = "0.1.0", path = "chir-rs-db" }
chir-rs-gemini = { version = "0.1.0", path = "chir-rs-gemini" }
chir-rs-http = { version = "0.1.0", path = "chir-rs-http" }
color-eyre = { version = "0.6.3", features = ["issue-url"] }
dotenvy = "0.15.7"
eyre = "0.6.12"
2024-12-08 19:01:57 +00:00
sentry = { version = "0.35.0", default-features = false, features = [
2024-11-26 07:41:01 +00:00
"backtrace",
"contexts",
"debug-images",
"panic",
"metrics",
"reqwest",
"rustls",
] }
sentry-eyre = "0.2.0"
2024-12-08 19:01:57 +00:00
sentry-tracing = { version = "0.35.0", features = ["backtrace"] }
2024-12-04 09:36:48 +00:00
tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread", "signal"] }
tracing = "0.1.41"
2024-11-26 07:41:01 +00:00
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
[lints.rust]
deprecated-safe = "forbid"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
impl-trait-overcaptures = "warn"
keyword-idents-2024 = "forbid"
let-underscore-drop = "warn"
macro-use-extern-crate = "deny"
meta-variable-misuse = "deny"
missing-abi = "forbid"
missing-copy-implementations = "warn"
missing-debug-implementations = "deny"
missing-docs = "warn"
missing-unsafe-on-extern = "deny"
non-local-definitions = "warn"
redundant-lifetimes = "warn"
single-use-lifetimes = "warn"
trivial-casts = "warn"
trivial-numeric-casts = "warn"
unit-bindings = "deny"
unnameable-types = "warn"
unreachable-pub = "warn"
unsafe-code = "forbid"
unused-crate-dependencies = "warn"
unused-extern-crates = "warn"
unused-import-braces = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused-qualifications = "warn"
variant-size-differences = "warn"
[lints.clippy]
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module-name-repetitions = "allow"
alloc-instead-of-core = "warn"
allow-attributes-without-reason = "deny"
assertions-on-result-states = "forbid"
clone-on-ref-ptr = "warn"
empty-drop = "warn"
expect-used = "deny"
inline-asm-x86-att-syntax = "forbid"
missing-docs-in-private-items = "warn"
panic = "deny"
panic-in-result-fn = "forbid"
rc-buffer = "warn"
rc-mutex = "deny"
unwrap-used = "forbid"
[profile.release]
codegen-units = 1
lto = true
debug = "full"
strip = "none"
2024-11-26 08:28:46 +00:00
[profile.dev.package."*"]
opt-level = 2
[profile.dev]
opt-level = 1