[package] name = "rustypaste" version = "0.15.1" edition = "2021" description = "A minimal file upload/pastebin service" authors = ["Orhun Parmaksız "] license = "MIT" readme = "README.md" homepage = "https://github.com/orhun/rustypaste" repository = "https://github.com/orhun/rustypaste" keywords = ["paste", "pastebin", "upload"] categories = ["web-programming::http-server"] include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md"] [features] default = ["rustls"] openssl = ["actix-web/openssl", "awc/openssl"] rustls = ["actix-web/rustls-0_21", "awc/rustls-0_21"] shuttle = ["dep:shuttle-actix-web", "dep:shuttle-runtime", "dep:tokio"] [dependencies] actix-web = { version = "4.8.0" } actix-web-grants = { version = "4.1.1" } actix-multipart = "0.7.2" actix-files = "0.6.6" shuttle-actix-web = { version = "0.47.0", optional = true } shuttle-runtime = { version = "0.47.0", optional = true } awc = { version = "3.5.0" } serde = "1.0.204" futures-util = "0.3.30" petname = { version = "1.1.3", default-features = false, features = [ "std_rng", "default_dictionary", ] } rand = "0.8.5" dotenvy = "0.15.7" url = "2.5.2" mime = "0.3.17" regex = "1.10.5" serde_regex = "1.1.0" lazy-regex = "3.1.0" humantime = "2.1.0" humantime-serde = "1.1.1" glob = "0.3.1" ring = "0.17.8" hotwatch = "0.5.0" tokio = { version = "1.39.2", optional = true } tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } uts2ts = "0.4.1" path-clean = "1.0.1" [dependencies.config] version = "0.14.0" default-features = false features = ["toml", "yaml"] [dependencies.byte-unit] version = "5.1.4" features = ["serde"] [dependencies.infer] version = "0.16.0" default-features = false [dev-dependencies] actix-rt = "2.10.0" [profile.dev] opt-level = 0 debug = true [profile.test] opt-level = 0 debug = true [profile.release] opt-level = 3 debug = false panic = "unwind" lto = true codegen-units = 1 strip = true [profile.bench] opt-level = 3 debug = false