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"]
|
2023-07-28 03:58:53 +02:00
|
|
|
|
2023-07-22 22:37:15 +02:00
|
|
|
[dependencies]
|
2023-11-30 16:45:29 +01:00
|
|
|
axum-core = "0.4"
|
2023-12-03 21:20:09 +01:00
|
|
|
http = { version = "1.0", default-features = false }
|
|
|
|
async-trait = "0.1"
|
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-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
|
|
|
|
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 }
|
2023-12-01 20:15:10 +01:00
|
|
|
|
2023-11-30 16:10:49 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|