axum-htmx/Cargo.toml

46 lines
1.4 KiB
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"
2024-05-08 07:11:00 +02:00
version = "0.6.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-11-30 16:10:49 +01:00
unstable = []
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"]
2024-06-15 13:09:52 +02:00
auto-vary = ["futures", "tokio", "tower"]
2023-07-28 03:58:53 +02:00
2023-07-22 22:37:15 +02:00
[dependencies]
axum-core = "0.4"
2024-10-19 02:37:16 +02:00
http = { version = "1", default-features = false }
2023-12-03 21:20:09 +01:00
async-trait = "0.1"
2024-06-15 11:18:49 +02:00
2023-10-24 04:03:50 +02:00
# Optional dependencies required for the `guards` feature.
2024-10-19 02:37:16 +02:00
tower = { version = "0.5", default-features = false, optional = true }
2023-07-28 03:58:53 +02:00
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-24 04:11:21 +02:00
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
2023-11-30 16:10:49 +01:00
2024-06-15 13:09:52 +02:00
# Optional dependencies required for the `auto-vary` feature.
tokio = { version = "1", features = ["sync"], optional = true }
futures = { version = "0.3", default-features = false, optional = true }
2023-12-01 20:15:10 +01:00
[dev-dependencies]
2023-12-03 21:20:09 +01:00
axum = { version = "0.7", default-features = false }
2024-10-19 02:37:16 +02:00
axum-test = "16"
2024-05-06 06:41:03 +02:00
tokio = { version = "1", features = ["full"] }
tokio-test = "0.4"
2023-12-01 20:15:10 +01:00
2023-11-30 16:10:49 +01:00
[package.metadata.docs.rs]
all-features = true