axum-htmx/Cargo.toml

29 lines
902 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-07-28 04:21:05 +02:00
description = "A set of htmx extractors 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"
version = "0.3.1"
2023-07-22 22:37:15 +02:00
edition = "2021"
2023-07-28 03:58:53 +02:00
[features]
default = [ ]
2023-07-28 03:58:53 +02:00
guards = ["tower", "futures-core", "pin-project-lite"]
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
# Optional dependencies
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
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }