2024-11-26 07:41:01 +00:00
|
|
|
[package]
|
|
|
|
name = "chir-rs-http-api"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[features]
|
2024-12-05 08:23:54 +00:00
|
|
|
axum = ["axum-core", "async-trait", "bytes", "mime"]
|
2024-11-26 07:41:01 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = { version = "0.1.83", optional = true }
|
|
|
|
axum-core = { version = "0.4.5", optional = true }
|
2024-12-03 09:23:07 +00:00
|
|
|
b64-ct = "0.1.2"
|
2024-11-26 07:41:01 +00:00
|
|
|
bincode = "2.0.0-rc.3"
|
|
|
|
bytes = { version = "1.8.0", optional = true }
|
2024-12-03 08:15:25 +00:00
|
|
|
educe = { version = "0.6.0", default-features = false, features = ["Debug"] }
|
2024-12-03 09:23:07 +00:00
|
|
|
eyre = "0.6.12"
|
2024-11-26 07:41:01 +00:00
|
|
|
http = "1.1.0"
|
|
|
|
mime = { version = "0.3.17", optional = true }
|
2024-12-03 08:15:25 +00:00
|
|
|
serde = { version = "1.0.215", features = ["derive"] }
|
2024-11-26 07:41:01 +00:00
|
|
|
thiserror = "2.0.3"
|
2024-12-05 08:23:54 +00:00
|
|
|
tracing = { version = "0.1.40" }
|
2024-11-26 07:41:01 +00:00
|
|
|
|
|
|
|
[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"
|