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"
|
2022-07-28 15:31:47 +02:00
|
|
|
rust-version = "1.56"
|
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"
|
2023-03-03 18:16:24 +01:00
|
|
|
version = "0.3.3" # remember to also bump the version that axum depends on
|
2021-11-30 14:46:13 +01:00
|
|
|
|
2023-03-12 11:15:58 +01:00
|
|
|
[features]
|
|
|
|
__private_docs = ["dep:tower-http"]
|
|
|
|
|
2021-11-30 14:46:13 +01:00
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1"
|
|
|
|
bytes = "1.0"
|
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
2022-04-29 17:28:24 +02:00
|
|
|
http = "0.2.7"
|
2022-06-08 15:47:57 +02:00
|
|
|
http-body = "0.4.5"
|
2021-11-30 14:46:13 +01:00
|
|
|
mime = "0.3.16"
|
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
|
|
|
|
tower-http = { version = "0.4", optional = true, features = ["limit"] }
|
|
|
|
|
2022-11-19 12:45:03 +01:00
|
|
|
[build-dependencies]
|
|
|
|
rustversion = "1.0.9"
|
|
|
|
|
2021-11-30 14:46:13 +01:00
|
|
|
[dev-dependencies]
|
2023-01-07 14:07:54 +01:00
|
|
|
axum = { path = "../axum", version = "0.6.0", features = ["headers"] }
|
2022-06-10 08:59:17 +02:00
|
|
|
futures-util = "0.3"
|
2023-02-27 18:40:03 +01:00
|
|
|
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"] }
|
2023-02-16 22:41:41 +01:00
|
|
|
|
|
|
|
[package.metadata.cargo-public-api-crates]
|
|
|
|
allowed = [
|
|
|
|
"futures_core",
|
|
|
|
"http",
|
|
|
|
"bytes",
|
|
|
|
"http_body",
|
|
|
|
"tower_layer",
|
|
|
|
]
|