mirror of https://github.com/rwf2/Rocket.git
92 lines
2.0 KiB
TOML
92 lines
2.0 KiB
TOML
[package]
|
|
name = "rocket"
|
|
version = "0.5.0-dev"
|
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
|
description = """
|
|
Web framework with a focus on usability, security, extensibility, and speed.
|
|
"""
|
|
documentation = "https://api.rocket.rs/master/rocket/"
|
|
homepage = "https://rocket.rs"
|
|
repository = "https://github.com/SergioBenitez/Rocket"
|
|
readme = "../../README.md"
|
|
keywords = ["rocket", "web", "framework", "server"]
|
|
license = "MIT OR Apache-2.0"
|
|
build = "build.rs"
|
|
categories = ["web-programming::http-server"]
|
|
edition = "2018"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
default = []
|
|
tls = ["rocket_http/tls"]
|
|
secrets = ["rocket_http/private-cookies"]
|
|
|
|
[dependencies]
|
|
futures = "0.3.0"
|
|
yansi = "0.5"
|
|
log = { version = "0.4", features = ["std"] }
|
|
num_cpus = "1.0"
|
|
time = "0.2.11"
|
|
memchr = "2" # TODO: Use pear instead.
|
|
binascii = "0.1"
|
|
atty = "0.2"
|
|
ref-cast = "1.0"
|
|
atomic = "0.5"
|
|
parking_lot = "0.11"
|
|
ubyte = {version = "0.10", features = ["serde"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
figment = { version = "0.10.2", features = ["toml", "env"] }
|
|
rand = "0.8"
|
|
either = "1"
|
|
pin-project-lite = "0.1"
|
|
indexmap = { version = "1.0", features = ["serde"] }
|
|
tempfile = "3"
|
|
|
|
[dependencies.state]
|
|
git = "https://github.com/SergioBenitez/state.git"
|
|
rev = "7576652"
|
|
|
|
[dependencies.async-trait]
|
|
git = "https://github.com/SergioBenitez/async-trait.git"
|
|
rev = "0cda89bd"
|
|
|
|
[dependencies.rocket_codegen]
|
|
version = "0.5.0-dev"
|
|
path = "../codegen"
|
|
|
|
[dependencies.rocket_http]
|
|
version = "0.5.0-dev"
|
|
path = "../http"
|
|
features = ["serde"]
|
|
|
|
[dependencies.multer]
|
|
git = "https://github.com/rousan/multer-rs.git"
|
|
rev = "0620e54"
|
|
features = ["tokio-io"]
|
|
|
|
[dependencies.tokio]
|
|
version = "1.0"
|
|
features = ["fs", "io-std", "io-util", "rt-multi-thread", "sync", "signal", "macros"]
|
|
|
|
[build-dependencies]
|
|
yansi = "0.5"
|
|
version_check = "0.9.1"
|
|
|
|
[dev-dependencies]
|
|
bencher = "0.1"
|
|
figment = { version = "0.10", features = ["test"] }
|
|
|
|
[[bench]]
|
|
name = "format-routing"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "ranked-routing"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "simple-routing"
|
|
harness = false
|