diff --git a/Cargo.toml b/Cargo.toml index 5d2975a..21d85bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,27 +2,27 @@ name = "axum-htmx" authors = ["Rob Wagner "] license = "MIT OR Apache-2.0" -description = "A set of htmx extractors and request guards for axum." +description = "A set of htmx extractors, responders, and request guards for axum." repository = "https://github.com/robertwayne/axum-htmx" categories = ["web-programming"] keywords = ["axum", "htmx"] readme = "README.md" -version = "0.3.1" +version = "0.4.0" edition = "2021" [features] -default = [ ] +default = [] guards = ["tower", "futures-core", "pin-project-lite"] -serde = [ "dep:serde", "dep:serde_json" ] +serde = ["dep:serde", "dep:serde_json"] [dependencies] axum = { git = "https://github.com/tokio-rs/axum", branch = "main", default-features = false } -# Optional dependencies +# Optional dependencies required for the `guards` feature. tower = { version = "0.4", default-features = false, optional = true } futures-core = { version = "0.3", optional = true } pin-project-lite = { version = "0.2", optional = true } +# Optional dependencies required for the `serde` feature. serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } -