-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
40 lines (36 loc) · 1.23 KB
/
Cargo.toml
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
[package]
description = "Client IP address extractors for Axum"
edition = "2021"
license = "MIT"
name = "axum-client-ip"
repository = "https://github.com/imbolc/axum-client-ip"
version = "0.7.0"
[dependencies]
axum = { version = "0.8", default-features = false, features = [
"http1",
"tokio",
] }
forwarded-header-value = "0.1"
serde = { version = "1", features = ["derive"] }
[dev-dependencies]
envy = "0.4"
http-body-util = "0.1"
hyper = "1"
tokio = { version = "1", features = ["full"] }
tower = { version = "0.5", features = ["util"] }
[lints.rust]
unsafe_code = "forbid"
future_incompatible = { level = "deny", priority = -2 }
keyword_idents = { level = "deny", priority = -2 }
let_underscore = { level = "deny", priority = -2 }
missing_docs = "deny"
nonstandard_style = { level = "deny", priority = -2 }
refining_impl_trait = { level = "deny", priority = -2 }
rust_2018_compatibility = { level = "deny", priority = -2 }
rust_2018_idioms = { level = "deny", priority = -2 }
rust_2021_compatibility = { level = "deny", priority = -2 }
rust_2024_compatibility = { level = "deny", priority = -2 }
unreachable_pub = { level = "warn", priority = -1 }
unused = { level = "warn", priority = -1 }
[lints.clippy]
all = { level = "warn", priority = -1 }