mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
f12ab072c5
* Add `IntoResponseParts` * docs * Add test * don't allow overriding body or response * macroify impls * re-order things a bit * Fix tests * Also allow overriding version * Move things into separate modules * docs * clean up * fix trybuild test * remove churn * simplify buliding response * fixup test * fix docs typo * Use `HeaderValue::from_static`, might be faster * Bring back `impl IntoResponse` in example * Remove blanket impl to improve error message * don't need to set `content-type` * Apply suggestions from code review Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com> * changelog Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
25 lines
686 B
TOML
25 lines
686 B
TOML
[package]
|
|
categories = ["asynchronous", "network-programming", "web-programming"]
|
|
description = "Core types and traits for axum"
|
|
edition = "2018"
|
|
homepage = "https://github.com/tokio-rs/axum"
|
|
keywords = ["http", "web", "framework"]
|
|
license = "MIT"
|
|
name = "axum-core"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tokio-rs/axum"
|
|
version = "0.1.1"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
bytes = "1.0"
|
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
|
http = "0.2"
|
|
http-body = "0.4"
|
|
mime = "0.3.16"
|
|
|
|
[dev-dependencies]
|
|
futures-util = "0.3"
|
|
axum = { path = "../axum", version = "0.4" }
|
|
hyper = "0.14"
|
|
tokio = { version = "1.0", features = ["macros"] }
|