mirror of
https://github.com/actix/actix-web.git
synced 2024-11-10 19:01:05 +00:00
51 lines
1.3 KiB
TOML
51 lines
1.3 KiB
TOML
[package]
|
|
name = "actix-files"
|
|
version = "0.6.5"
|
|
authors = [
|
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
|
"Rob Ede <robjtede@icloud.com>",
|
|
]
|
|
description = "Static file serving for Actix Web"
|
|
keywords = ["actix", "http", "async", "futures"]
|
|
homepage = "https://actix.rs"
|
|
repository = "https://github.com/actix/actix-web"
|
|
categories = ["asynchronous", "web-programming::http-server"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "actix_files"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
experimental-io-uring = ["actix-web/experimental-io-uring", "tokio-uring"]
|
|
|
|
[dependencies]
|
|
actix-http = "3"
|
|
actix-service = "2"
|
|
actix-utils = "3"
|
|
actix-web = { version = "4", default-features = false }
|
|
|
|
bitflags = "2"
|
|
bytes = "1"
|
|
derive_more = "0.99.5"
|
|
futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] }
|
|
http-range = "0.1.4"
|
|
log = "0.4"
|
|
mime = "0.3.9"
|
|
mime_guess = "2.0.1"
|
|
percent-encoding = "2.1"
|
|
pin-project-lite = "0.2.7"
|
|
v_htmlescape = "0.15.5"
|
|
|
|
# experimental-io-uring
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
tokio-uring = { version = "0.4", optional = true, features = ["bytes"] }
|
|
actix-server = { version = "2.2", optional = true } # ensure matching tokio-uring versions
|
|
|
|
[dev-dependencies]
|
|
actix-rt = "2.7"
|
|
actix-test = "0.1"
|
|
actix-web = "4"
|
|
env_logger = "0.11"
|
|
tempfile = "3.2"
|