axum/axum-macros/Cargo.toml

49 lines
1.2 KiB
TOML
Raw Permalink Normal View History

[package]
categories = ["asynchronous", "network-programming", "web-programming"]
description = "Macros for axum"
edition = "2021"
rust-version = { workspace = true }
homepage = "https://github.com/tokio-rs/axum"
keywords = ["axum"]
license = "MIT"
name = "axum-macros"
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 also bump the version that axum and axum-extra depends on
[features]
default = []
__private = ["syn/visit-mut"]
[lib]
proc-macro = true
[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
2023-03-18 20:23:27 +01:00
syn = { version = "2.0", features = [
"full",
2023-03-18 20:23:27 +01:00
"parsing",
# needed for `Hash` impls
"extra-traits",
] }
[dev-dependencies]
axum = { path = "../axum", features = ["macros"] }
axum-extra = { path = "../axum-extra", features = ["typed-routing", "cookie-private", "typed-header"] }
rustversion = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2023-03-18 20:23:27 +01:00
syn = { version = "2.0", features = ["full", "extra-traits"] }
tokio = { version = "1.25.0", features = ["full"] }
trybuild = "1.0.63"
2024-11-30 16:53:48 +01:00
[lints]
workspace = true
[package.metadata.cargo-public-api-crates]
allowed = []
[package.metadata.docs.rs]
all-features = true