2022-01-25 15:05:50 +01:00
|
|
|
[package]
|
|
|
|
categories = ["asynchronous", "network-programming", "web-programming"]
|
|
|
|
description = "Macros for axum"
|
2022-06-17 20:11:35 +02:00
|
|
|
edition = "2021"
|
2024-09-28 23:21:41 +02:00
|
|
|
rust-version = { workspace = true }
|
2022-01-25 15:05:50 +01:00
|
|
|
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-10-05 11:20:05 +02:00
|
|
|
version = "0.5.0-alpha.1" # remember to also bump the version that axum and axum-extra depends on
|
2022-01-25 15:05:50 +01:00
|
|
|
|
2023-01-14 15:12:01 +01:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
__private = ["syn/visit-mut"]
|
|
|
|
|
2022-01-25 15:05:50 +01:00
|
|
|
[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 = [
|
2022-08-18 11:41:14 +02:00
|
|
|
"full",
|
2023-03-18 20:23:27 +01:00
|
|
|
"parsing",
|
2022-08-18 11:41:14 +02:00
|
|
|
# needed for `Hash` impls
|
|
|
|
"extra-traits",
|
|
|
|
] }
|
2022-01-25 15:05:50 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-10-05 11:27:56 +02:00
|
|
|
axum = { path = "../axum", features = ["macros"] }
|
|
|
|
axum-extra = { path = "../axum-extra", features = ["typed-routing", "cookie-private", "typed-header"] }
|
2022-01-25 15:05:50 +01:00
|
|
|
rustversion = "1.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-08-12 18:05:27 +02:00
|
|
|
serde_json = "1.0"
|
2023-03-18 20:23:27 +01:00
|
|
|
syn = { version = "2.0", features = ["full", "extra-traits"] }
|
2023-02-27 18:40:03 +01:00
|
|
|
tokio = { version = "1.25.0", features = ["full"] }
|
2022-06-27 20:44:20 +02:00
|
|
|
trybuild = "1.0.63"
|
2023-02-16 22:41:41 +01:00
|
|
|
|
|
|
|
[package.metadata.cargo-public-api-crates]
|
|
|
|
allowed = []
|
2023-09-16 21:47:49 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|