2021-11-30 14:46:13 +01:00
|
|
|
[package]
|
|
|
|
categories = ["asynchronous", "network-programming", "web-programming"]
|
|
|
|
description = "Core types and traits for axum"
|
2022-06-17 20:11:35 +02:00
|
|
|
edition = "2021"
|
2024-09-28 23:21:41 +02:00
|
|
|
rust-version = { workspace = true }
|
2021-11-30 14:46:13 +01:00
|
|
|
homepage = "https://github.com/tokio-rs/axum"
|
|
|
|
keywords = ["http", "web", "framework"]
|
|
|
|
license = "MIT"
|
|
|
|
name = "axum-core"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/tokio-rs/axum"
|
2024-12-17 23:47:42 +01:00
|
|
|
version = "0.5.0-rc.1" # remember to bump the version that axum and axum-extra depend on
|
2021-11-30 14:46:13 +01:00
|
|
|
|
2023-03-12 11:15:58 +01:00
|
|
|
[features]
|
2023-04-11 16:57:49 +02:00
|
|
|
tracing = ["dep:tracing"]
|
|
|
|
|
|
|
|
# Required for intra-doc links to resolve correctly
|
2023-03-12 11:15:58 +01:00
|
|
|
__private_docs = ["dep:tower-http"]
|
|
|
|
|
2021-11-30 14:46:13 +01:00
|
|
|
[dependencies]
|
2024-09-20 21:02:52 +02:00
|
|
|
bytes = "1.2"
|
2021-11-30 14:46:13 +01:00
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
2023-11-23 12:03:03 +01:00
|
|
|
http = "1.0.0"
|
|
|
|
http-body = "1.0.0"
|
|
|
|
http-body-util = "0.1.0"
|
2021-11-30 14:46:13 +01:00
|
|
|
mime = "0.3.16"
|
2023-03-14 09:13:19 +01:00
|
|
|
pin-project-lite = "0.2.7"
|
2024-04-30 17:05:38 +02:00
|
|
|
rustversion = "1.0.9"
|
2024-03-23 19:46:20 +01:00
|
|
|
sync_wrapper = "1.0.0"
|
2022-09-10 08:36:30 +02:00
|
|
|
tower-layer = "0.3"
|
|
|
|
tower-service = "0.3"
|
2021-11-30 14:46:13 +01:00
|
|
|
|
2023-03-12 11:15:58 +01:00
|
|
|
# optional dependencies
|
2024-09-20 19:43:38 +02:00
|
|
|
tower-http = { version = "0.6.0", optional = true, features = ["limit"] }
|
2023-04-11 16:57:49 +02:00
|
|
|
tracing = { version = "0.1.37", default-features = false, optional = true }
|
2023-03-12 11:15:58 +01:00
|
|
|
|
2021-11-30 14:46:13 +01:00
|
|
|
[dev-dependencies]
|
2024-10-05 11:27:56 +02:00
|
|
|
axum = { path = "../axum" }
|
2023-04-11 16:09:48 +02:00
|
|
|
axum-extra = { path = "../axum-extra", features = ["typed-header"] }
|
2023-03-18 20:23:27 +01:00
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
2023-11-23 12:03:03 +01:00
|
|
|
hyper = "1.0.0"
|
2023-02-27 18:40:03 +01:00
|
|
|
tokio = { version = "1.25.0", features = ["macros"] }
|
2024-09-20 19:43:38 +02:00
|
|
|
tower-http = { version = "0.6.0", features = ["limit"] }
|
2023-02-16 22:41:41 +01:00
|
|
|
|
2024-11-30 16:53:48 +01:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2023-02-16 22:41:41 +01:00
|
|
|
[package.metadata.cargo-public-api-crates]
|
|
|
|
allowed = [
|
2023-11-27 11:53:05 +01:00
|
|
|
# not 1.0
|
2023-02-16 22:41:41 +01:00
|
|
|
"futures_core",
|
2023-11-27 11:53:05 +01:00
|
|
|
"tower_layer",
|
|
|
|
|
|
|
|
# >=1.0
|
2023-02-16 22:41:41 +01:00
|
|
|
"bytes",
|
2023-11-27 11:53:05 +01:00
|
|
|
"http",
|
2023-02-16 22:41:41 +01:00
|
|
|
"http_body",
|
|
|
|
]
|
2023-09-16 21:47:49 +02:00
|
|
|
|
2024-09-25 09:44:47 +02:00
|
|
|
[package.metadata.cargo-machete]
|
|
|
|
ignored = ["tower-http"] # See __private_docs feature
|
|
|
|
|
2023-09-16 21:47:49 +02:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|