mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 23:30:29 +01:00
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
categories = ["asynchronous", "network-programming", "web-programming"]
|
|
description = "Macros for axum"
|
|
edition = "2021"
|
|
rust-version = "1.63"
|
|
homepage = "https://github.com/tokio-rs/axum"
|
|
keywords = ["axum"]
|
|
license = "MIT"
|
|
name = "axum-macros"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tokio-rs/axum"
|
|
version = "0.3.7" # remember to also bump the version that axum and axum-extra depends on
|
|
|
|
[features]
|
|
default = []
|
|
__private = ["syn/visit-mut"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
heck = "0.4"
|
|
proc-macro2 = "1.0"
|
|
quote = "1.0"
|
|
syn = { version = "2.0", features = [
|
|
"full",
|
|
"parsing",
|
|
# needed for `Hash` impls
|
|
"extra-traits",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
axum = { path = "../axum", version = "0.6.0", features = ["macros"] }
|
|
axum-extra = { path = "../axum-extra", version = "0.7.0", features = ["typed-routing", "cookie-private", "typed-header"] }
|
|
rustversion = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
syn = { version = "2.0", features = ["full", "extra-traits"] }
|
|
tokio = { version = "1.25.0", features = ["full"] }
|
|
trybuild = "1.0.63"
|
|
|
|
[package.metadata.cargo-public-api-crates]
|
|
allowed = []
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|