mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-25 16:47:34 +01:00
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[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"
|
|
version = "0.3.2" # remember to also bump the version that axum depends on
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
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"
|
|
tower-layer = "0.3"
|
|
tower-service = "0.3"
|
|
|
|
[build-dependencies]
|
|
rustversion = "1.0.9"
|
|
|
|
[dev-dependencies]
|
|
axum = { path = "../axum", version = "0.6.0", features = ["headers"] }
|
|
futures-util = "0.3"
|
|
hyper = "0.14.24"
|
|
tokio = { version = "1.25.0", features = ["macros"] }
|
|
tower-http = { version = "0.4", features = ["limit"] }
|
|
|
|
[package.metadata.cargo-public-api-crates]
|
|
allowed = [
|
|
"futures_core",
|
|
"http",
|
|
"bytes",
|
|
"http_body",
|
|
"tower_layer",
|
|
]
|