[[test]]
name = "route_guard"
path = "tests/route_guard.rs"
[[test]]
name = "replace-content-type-518"
path = "tests/replace-content-type-518.rs"
[[test]]
name = "scoped-uri"
path = "tests/scoped-uri.rs"
[[test]]
name = "local_request_private_cookie-issue-368"
path = "tests/local_request_private_cookie-issue-368.rs"
[[test]]
name = "on_launch_fairing_can_inspect_port"
path = "tests/on_launch_fairing_can_inspect_port.rs"
[[test]]
name = "form_method-issue-45"
path = "tests/form_method-issue-45.rs"
[[test]]
name = "deserialize-limits-issue-2268"
path = "tests/deserialize-limits-issue-2268.rs"
[[test]]
name = "typed-uri-docs-redef-issue-1373"
path = "tests/typed-uri-docs-redef-issue-1373.rs"
[[test]]
name = "tls-config-from-source-1503"
path = "tests/tls-config-from-source-1503.rs"
[[test]]
name = "derive-reexports"
path = "tests/derive-reexports.rs"
[[test]]
name = "config-real-ip-header"
path = "tests/config-real-ip-header.rs"
[[test]]
name = "session-cookies-issue-1506"
path = "tests/session-cookies-issue-1506.rs"
[[test]]
name = "segments-issues-41-86"
path = "tests/segments-issues-41-86.rs"
[[test]]
name = "http_serde"
path = "tests/http_serde.rs"
[[test]]
name = "shield"
path = "tests/shield.rs"
[[test]]
name = "precise-content-type-matching"
path = "tests/precise-content-type-matching.rs"
[[test]]
name = "mapped-base-issue-1262"
path = "tests/mapped-base-issue-1262.rs"
[[test]]
name = "mount_point"
path = "tests/mount_point.rs"
[[test]]
name = "encoded-uris"
path = "tests/encoded-uris.rs"
[[test]]
name = "untracked-vs-tracked"
path = "tests/untracked-vs-tracked.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "redirect_from_catcher-issue-113"
path = "tests/redirect_from_catcher-issue-113.rs"
[[test]]
name = "twice_managed_state"
path = "tests/twice_managed_state.rs"
[[test]]
name = "can-correct-bad-local-uri"
path = "tests/can-correct-bad-local-uri.rs"
[[test]]
name = "nested-fairing-attaches"
path = "tests/nested-fairing-attaches.rs"
[[test]]
name = "shutdown-fairings"
path = "tests/shutdown-fairings.rs"
[[test]]
name = "can-launch-tls"
path = "tests/can-launch-tls.rs"
[[test]]
name = "catcher-cookies-1213"
path = "tests/catcher-cookies-1213.rs"
[[test]]
name = "panic-handling"
path = "tests/panic-handling.rs"
[[test]]
name = "multipart-limit"
path = "tests/multipart-limit.rs"
[[test]]
name = "form_value_from_encoded_str-issue-1425"
path = "tests/form_value_from_encoded_str-issue-1425.rs"
[[test]]
name = "local-client-access-runtime-in-drop"
path = "tests/local-client-access-runtime-in-drop.rs"
[[test]]
name = "sentinel"
path = "tests/sentinel.rs"
[[test]]
name = "form-validation-names"
path = "tests/form-validation-names.rs"
[[test]]
name = "uri-percent-encoding-issue-808"
path = "tests/uri-percent-encoding-issue-808.rs"
[[test]]
name = "timer-on-attach"
path = "tests/timer-on-attach.rs"
[[test]]
name = "recursive-singleton-fairing"
path = "tests/recursive-singleton-fairing.rs"
[[test]]
name = "form_value_decoding-issue-82"
path = "tests/form_value_decoding-issue-82.rs"
[[test]]
name = "forward-includes-status-1560"
path = "tests/forward-includes-status-1560.rs"
[[test]]
name = "file_server"
path = "tests/file_server.rs"
[[test]]
name = "head_handling"
path = "tests/head_handling.rs"
[[test]]
name = "many-cookie-jars-at-once"
path = "tests/many-cookie-jars-at-once.rs"
[[test]]
name = "unsound-local-request-1312"
path = "tests/unsound-local-request-1312.rs"
[[test]]
name = "flash-lazy-removes-issue-466"
path = "tests/flash-lazy-removes-issue-466.rs"
[[test]]
name = "byte-slices-form-field-issue-2148"
path = "tests/byte-slices-form-field-issue-2148.rs"
[[test]]
name = "strict_and_lenient_forms"
path = "tests/strict_and_lenient_forms.rs"
[[test]]
name = "config-secret-key-1500"
path = "tests/config-secret-key-1500.rs"
[[test]]
name = "launch-inspect"
path = "tests/launch-inspect.rs"
[[test]]
name = "fairing_before_head_strip-issue-546"
path = "tests/fairing_before_head_strip-issue-546.rs"
[[test]]
name = "conditionally-set-server-header-996"
path = "tests/conditionally-set-server-header-996.rs"
[[test]]
name = "raw-strings-multipart-files-1987"
path = "tests/raw-strings-multipart-files-1987.rs"
[[test]]
name = "absolute-uris-okay-issue-443"
path = "tests/absolute-uris-okay-issue-443.rs"
[[test]]
name = "local-client-json"
path = "tests/local-client-json.rs"
[[test]]
name = "local-request-content-type-issue-505"
path = "tests/local-request-content-type-issue-505.rs"
[[test]]
name = "responder_lifetime-issue-345"
path = "tests/responder_lifetime-issue-345.rs"
[[test]]
name = "cookies-private"
path = "tests/cookies-private.rs"
[build-dependencies.version_check]
version = "0.9.1"
[dependencies.async-stream]
version = "0.3.2"
[dependencies.async-trait]
version = "0.1.43"
[dependencies.atomic]
version = "0.5"
[dependencies.binascii]
version = "0.1"
[dependencies.bytes]
version = "1.0"
[dependencies.either]
version = "1"
[dependencies.figment]
features = ["toml", "env"]
version = "0.10.6"
[dependencies.futures]
default-features = false
features = ["std"]
version = "0.3.0"
[dependencies.indexmap]
features = ["serde"]
version = "2"
[dependencies.log]
features = ["std"]
version = "0.4"
[dependencies.memchr]
version = "2"
[dependencies.multer]
features = ["tokio-io"]
version = "3.0.0"
[dependencies.num_cpus]
version = "1.0"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.rand]
version = "0.8"
[dependencies.ref-cast]
version = "1.0"
[dependencies.rmp-serde]
optional = true
version = "1"
[dependencies.rocket_codegen]
version = "0.5.1"
[dependencies.rocket_http]
features = ["serde"]
version = "0.5.1"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0.26"
[dependencies.state]
version = "0.6"
[dependencies.tempfile]
version = "3"
[dependencies.time]
features = ["macros", "parsing"]
version = "0.3"
[dependencies.tokio]
features = ["fs", "io-std", "io-util", "rt-multi-thread", "sync", "signal", "macros"]
version = "1.6.1"
[dependencies.tokio-stream]
features = ["signal", "time"]
version = "0.1.6"
[dependencies.tokio-util]
default-features = false
features = ["io"]
version = "0.7"
[dependencies.ubyte]
features = ["serde"]
version = "0.10.2"
[dependencies.uuid_]
features = ["serde"]
optional = true
package = "uuid"
version = "1"
[dependencies.yansi]
features = ["detect-tty"]
version = "1.0.1"
[dev-dependencies.figment]
features = ["test"]
version = "0.10"
[dev-dependencies.pretty_assertions]
version = "1"
[features]
default = ["http2"]
http2 = ["rocket_http/http2"]
json = ["serde_json", "tokio/io-util"]
msgpack = ["rmp-serde", "tokio/io-util"]
mtls = ["rocket_http/mtls", "tls"]
secrets = ["rocket_http/private-cookies"]
tls = ["rocket_http/tls"]
uuid = ["uuid_", "rocket_http/uuid"]
[lib]
name = "rocket"
path = "src/lib.rs"
[package]
authors = ["Sergio Benitez <sb@sergio.bz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["web-programming::http-server"]
description = "Web framework with a focus on usability, security, extensibility, and speed.\n"
documentation = "https://api.rocket.rs/v0.5/rocket/"
edition = "2021"
homepage = "https://rocket.rs"
keywords = ["rocket", "web", "framework", "server"]
license = "MIT OR Apache-2.0"
name = "rocket"
readme = "README.md"
repository = "https://github.com/rwf2/Rocket"
rust-version = "1.64"
version = "0.5.1"
[package.metadata.docs.rs]
all-features = true