[package] name = "trillium-api" version = "0.2.0-rc.12" authors = ["Jacob Rothstein "] edition = "2021" description = "an api handler for trillium.rs" license = "MIT OR Apache-2.0" repository = "https://github.com/trillium-rs/trillium" readme = "../README.md" keywords = ["trillium", "framework", "async"] categories = ["web-programming::http-server", "web-programming"] [features] default = ["forms"] forms = ["serde_urlencoded", "form_urlencoded"] url = ["dep:url"] [dependencies] form_urlencoded = { version = "1.2.1", optional = true } log = "0.4.20" mime = "0.3.17" serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.108" serde_path_to_error = "0.1.14" serde_urlencoded = { version = "0.7.1", optional = true } thiserror = "1.0.52" trillium = { path = "../trillium", version = "0.2.20" } trillium-macros = { version = "0.0.6", path = "../macros" } url = { version = "2.5.0", optional = true } [dev-dependencies] async-io = "2.3.1" env_logger = "0.11.0" serde = { version = "1.0.193", features = ["derive"] } trillium-logger = { path = "../logger" } trillium-router = { path = "../router" } trillium-smol = { path = "../smol" } trillium-testing = { path = "../testing" } trillium-api = { path = ".", features = ["url"] } test-harness = "0.2.0" async-channel = "2.3.1"