# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rustypaste" version = "0.15.1" authors = ["Orhun Parmaksız "] build = false include = [ "src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A minimal file upload/pastebin service" homepage = "https://github.com/orhun/rustypaste" readme = "README.md" keywords = [ "paste", "pastebin", "upload", ] categories = ["web-programming::http-server"] license = "MIT" repository = "https://github.com/orhun/rustypaste" [profile.bench] opt-level = 3 debug = 0 [profile.dev] opt-level = 0 debug = 2 [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 panic = "unwind" strip = true [profile.test] opt-level = 0 debug = 2 [lib] name = "rustypaste" path = "src/lib.rs" [[bin]] name = "rustypaste" path = "src/main.rs" [dependencies.actix-files] version = "0.6.6" [dependencies.actix-multipart] version = "0.7.2" [dependencies.actix-web] version = "4.8.0" [dependencies.actix-web-grants] version = "4.1.1" [dependencies.awc] version = "3.5.0" [dependencies.byte-unit] version = "5.1.4" features = ["serde"] [dependencies.config] version = "0.14.0" features = [ "toml", "yaml", ] default-features = false [dependencies.dotenvy] version = "0.15.7" [dependencies.futures-util] version = "0.3.30" [dependencies.glob] version = "0.3.1" [dependencies.hotwatch] version = "0.5.0" [dependencies.humantime] version = "2.1.0" [dependencies.humantime-serde] version = "1.1.1" [dependencies.infer] version = "0.16.0" default-features = false [dependencies.lazy-regex] version = "3.1.0" [dependencies.mime] version = "0.3.17" [dependencies.path-clean] version = "1.0.1" [dependencies.petname] version = "1.1.3" features = [ "std_rng", "default_dictionary", ] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.regex] version = "1.10.5" [dependencies.ring] version = "0.17.8" [dependencies.serde] version = "1.0.204" [dependencies.serde_regex] version = "1.1.0" [dependencies.shuttle-actix-web] version = "0.47.0" optional = true [dependencies.shuttle-runtime] version = "0.47.0" optional = true [dependencies.tokio] version = "1.39.2" optional = true [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dependencies.url] version = "2.5.2" [dependencies.uts2ts] version = "0.4.1" [dev-dependencies.actix-rt] version = "2.10.0" [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", ]