2021-05-29 21:13:06 +02:00
|
|
|
[package]
|
|
|
|
authors = ["David Pedersen <david.pdrsn@gmail.com>"]
|
2021-07-30 15:56:01 +02:00
|
|
|
categories = ["asynchronous", "network-programming", "web-programming"]
|
2021-06-12 20:18:21 +02:00
|
|
|
description = "Web framework that focuses on ergonomics and modularity"
|
2021-07-30 15:56:01 +02:00
|
|
|
documentation = "https://docs.rs/axum/0.1.0"
|
2021-05-29 21:13:06 +02:00
|
|
|
edition = "2018"
|
2021-07-22 19:39:08 +02:00
|
|
|
homepage = "https://github.com/tokio-rs/axum"
|
2021-06-12 20:18:21 +02:00
|
|
|
keywords = ["http", "web", "framework"]
|
|
|
|
license = "MIT"
|
2021-07-09 21:36:14 +02:00
|
|
|
name = "axum"
|
2021-06-12 20:18:21 +02:00
|
|
|
readme = "README.md"
|
2021-07-22 19:39:08 +02:00
|
|
|
repository = "https://github.com/tokio-rs/axum"
|
2021-06-12 20:18:21 +02:00
|
|
|
version = "0.1.0"
|
2021-05-29 21:13:06 +02:00
|
|
|
|
2021-06-12 20:50:30 +02:00
|
|
|
[features]
|
2021-07-14 16:29:06 +02:00
|
|
|
default = []
|
2021-06-12 20:50:30 +02:00
|
|
|
ws = ["tokio-tungstenite", "sha-1", "base64"]
|
2021-07-14 16:53:37 +02:00
|
|
|
multipart = ["multer", "mime"]
|
2021-06-12 20:50:30 +02:00
|
|
|
|
2021-05-29 21:13:06 +02:00
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1"
|
|
|
|
bytes = "1.0"
|
2021-05-30 01:11:18 +02:00
|
|
|
futures-util = "0.3"
|
2021-05-29 21:13:06 +02:00
|
|
|
http = "0.2"
|
|
|
|
http-body = "0.4"
|
2021-06-12 21:44:40 +02:00
|
|
|
hyper = { version = "0.14", features = ["server", "tcp"] }
|
2021-05-30 01:11:18 +02:00
|
|
|
pin-project = "1.0"
|
2021-06-08 22:27:38 +02:00
|
|
|
regex = "1.5"
|
2021-05-29 21:13:06 +02:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2021-05-30 01:11:18 +02:00
|
|
|
serde_urlencoded = "0.7"
|
2021-06-08 22:27:38 +02:00
|
|
|
tokio = { version = "1", features = ["time"] }
|
2021-07-05 16:18:39 +02:00
|
|
|
tokio-util = "0.6"
|
2021-06-12 21:44:40 +02:00
|
|
|
tower = { version = "0.4", features = ["util", "buffer", "make"] }
|
2021-06-12 23:59:18 +02:00
|
|
|
tower-http = { version = "0.1", features = ["add-extension", "map-response-body"] }
|
2021-05-29 21:13:06 +02:00
|
|
|
|
2021-06-12 20:50:30 +02:00
|
|
|
# optional dependencies
|
|
|
|
tokio-tungstenite = { optional = true, version = "0.14" }
|
|
|
|
sha-1 = { optional = true, version = "0.9.6" }
|
|
|
|
base64 = { optional = true, version = "0.13" }
|
2021-06-15 21:27:21 +02:00
|
|
|
headers = { optional = true, version = "0.3" }
|
2021-07-14 16:53:37 +02:00
|
|
|
multer = { optional = true, version = "2.0.0" }
|
|
|
|
mime = { optional = true, version = "0.3" }
|
2021-06-12 20:50:30 +02:00
|
|
|
|
2021-05-29 21:13:06 +02:00
|
|
|
[dev-dependencies]
|
2021-06-13 13:58:12 +02:00
|
|
|
askama = "0.10.5"
|
2021-06-15 22:25:41 +02:00
|
|
|
bb8 = "0.7.0"
|
|
|
|
bb8-postgres = "0.7.0"
|
2021-06-19 12:50:33 +02:00
|
|
|
futures = "0.3"
|
2021-05-31 12:22:16 +02:00
|
|
|
hyper = { version = "0.14", features = ["full"] }
|
|
|
|
reqwest = { version = "0.11", features = ["json", "stream"] }
|
2021-05-29 21:13:06 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-05-31 12:22:16 +02:00
|
|
|
tokio = { version = "1.6.1", features = ["macros", "rt", "rt-multi-thread"] }
|
2021-06-15 22:25:41 +02:00
|
|
|
tokio-postgres = "0.7.2"
|
2021-05-30 14:33:20 +02:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.2"
|
2021-07-22 15:38:32 +02:00
|
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
2021-06-01 11:23:56 +02:00
|
|
|
|
2021-06-12 20:50:30 +02:00
|
|
|
[dev-dependencies.tower]
|
|
|
|
version = "0.4"
|
|
|
|
features = [
|
|
|
|
"util",
|
|
|
|
"timeout",
|
|
|
|
"limit",
|
|
|
|
"load-shed",
|
|
|
|
"steer",
|
|
|
|
"filter",
|
|
|
|
]
|
|
|
|
|
2021-06-01 11:23:56 +02:00
|
|
|
[dev-dependencies.tower-http]
|
|
|
|
version = "0.1"
|
2021-06-19 12:50:33 +02:00
|
|
|
features = ["full"]
|
2021-06-12 20:18:21 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[package.metadata.playground]
|
|
|
|
features = ["ws"]
|