axum/axum-core/Cargo.toml

55 lines
1.5 KiB
TOML
Raw Normal View History

[package]
categories = ["asynchronous", "network-programming", "web-programming"]
description = "Core types and traits for axum"
edition = "2021"
rust-version = "1.56"
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"
2023-04-11 17:23:38 +02:00
version = "0.3.4" # remember to also bump the version that axum and axum-extra depend on
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"]
[dependencies]
2023-03-18 20:23:27 +01:00
async-trait = "0.1.67"
bytes = "1.0"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
http = "0.2.7"
http-body = "0.4.5"
mime = "0.3.16"
2023-03-14 09:13:19 +01:00
pin-project-lite = "0.2.7"
sync_wrapper = "0.1.1"
tower-layer = "0.3"
tower-service = "0.3"
2023-03-12 11:15:58 +01:00
# optional dependencies
tower-http = { version = "0.4", 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
[build-dependencies]
rustversion = "1.0.9"
[dev-dependencies]
axum = { path = "../axum", version = "0.6.0" }
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"] }
hyper = "0.14.24"
tokio = { version = "1.25.0", features = ["macros"] }
2023-02-24 21:51:30 +01:00
tower-http = { version = "0.4", features = ["limit"] }
[package.metadata.cargo-public-api-crates]
allowed = [
"futures_core",
"http",
"bytes",
"http_body",
"tower_layer",
]