@@ -11,20 +11,17 @@ homepage.workspace = true
1111
1212[dependencies ]
1313# Async
14- tokio = { workspace = true }
14+ tokio = { workspace = true , features = [ " rt " , " net " , " time " , " fs " , " macros " ] }
1515futures-util = { workspace = true }
1616pin-project-lite = { workspace = true }
1717
1818# HTTP
19- hyper = { workspace = true }
20- hyper-util = { workspace = true }
19+ hyper = { workspace = true , features = [ " server " , " http1 " ] }
20+ hyper-util = { workspace = true , features = [ " tokio " ] }
2121http = { workspace = true }
2222http-body-util = { workspace = true }
2323bytes = { workspace = true }
2424
25- # Socket options
26- socket2 = { version = " 0.5" , features = [" all" ] }
27-
2825# Router
2926matchit = { workspace = true }
3027
@@ -38,15 +35,12 @@ simd-json = { version = "0.17", optional = true }
3835smallvec = " 1.13"
3936
4037# Middleware
41- tower = { workspace = true }
4238tower-service = { workspace = true }
43- tower-http = { workspace = true }
4439
4540# Utilities
4641thiserror = { workspace = true }
4742tracing = { workspace = true }
4843tracing-subscriber = { workspace = true }
49- inventory = { workspace = true }
5044linkme = { workspace = true }
5145uuid = { workspace = true }
5246base64 = " 0.22"
@@ -59,7 +53,7 @@ brotli = { version = "6.0", optional = true }
5953cookie = { version = " 0.18" , optional = true }
6054
6155# Validation
62- validator = { workspace = true }
56+ validator = { workspace = true , optional = true }
6357rustapi-validate = { workspace = true }
6458
6559# Metrics (optional)
@@ -79,7 +73,6 @@ h3-quinn = { version = "0.0.10", optional = true }
7973rustls = { workspace = true , optional = true }
8074rustls-pemfile = { workspace = true , optional = true }
8175rcgen = { workspace = true , optional = true }
82- chrono = " 0.4.43"
8376
8477# Replay (feature-gated)
8578async-trait = { workspace = true , optional = true }
@@ -95,6 +88,7 @@ async-trait = { workspace = true }
9588default = [" swagger-ui" , " tracing" ]
9689swagger-ui = [" rustapi-openapi/swagger-ui" ]
9790test-utils = []
91+ legacy-validator = [" dep:validator" ]
9892cookies = [" dep:cookie" ]
9993sqlx = [" dep:sqlx" ]
10094metrics = [" dep:prometheus" ]
0 commit comments