axum-htmx/Cargo.toml

29 lines
1,004 B
TOML
Raw Normal View History

2023-07-22 22:37:15 +02:00
[package]
name = "axum-htmx"
authors = ["Rob Wagner <rob@sombia.com>"]
license = "MIT OR Apache-2.0"
2023-10-24 04:03:50 +02:00
description = "A set of htmx extractors, responders, and request guards for axum."
2023-07-22 22:37:15 +02:00
repository = "https://github.com/robertwayne/axum-htmx"
2023-07-23 01:37:54 +02:00
categories = ["web-programming"]
2023-07-28 04:21:05 +02:00
keywords = ["axum", "htmx"]
2023-07-22 22:37:15 +02:00
readme = "README.md"
2023-10-24 04:03:50 +02:00
version = "0.4.0"
2023-07-22 22:37:15 +02:00
edition = "2021"
2023-07-28 03:58:53 +02:00
[features]
2023-10-24 04:03:50 +02:00
default = []
2023-07-28 03:58:53 +02:00
guards = ["tower", "futures-core", "pin-project-lite"]
2023-10-24 04:03:50 +02:00
serde = ["dep:serde", "dep:serde_json"]
2023-07-28 03:58:53 +02:00
2023-07-22 22:37:15 +02:00
[dependencies]
2023-07-23 01:35:55 +02:00
axum = { git = "https://github.com/tokio-rs/axum", branch = "main", default-features = false }
2023-07-28 03:58:53 +02:00
2023-10-24 04:03:50 +02:00
# Optional dependencies required for the `guards` feature.
2023-07-28 03:58:53 +02:00
tower = { version = "0.4", default-features = false, optional = true }
futures-core = { version = "0.3", optional = true }
pin-project-lite = { version = "0.2", optional = true }
2023-10-22 15:26:03 +02:00
2023-10-24 04:03:50 +02:00
# Optional dependencies required for the `serde` feature.
2023-10-22 15:26:03 +02:00
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }