# 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 = "rustus" version = "0.5.10" authors = [ "Pavel Kirilin ", "Maxim Naumov ", ] description = "TUS protocol implementation written in Rust." homepage = "https://github.com/s3rius/rustus" readme = "README.md" keywords = [ "tus", "server", "actix-web", ] license-file = "LICENSE" resolver = "2" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 panic = "abort" [[bin]] name = "rustus" [dependencies.actix-cors] version = "0.6.1" [dependencies.actix-files] version = "^0.6.0-beta.13" [dependencies.actix-web] version = "^4.0.1" [dependencies.actix-web-prom] version = "^0.6.0" [dependencies.async-trait] version = "^0.1.52" [dependencies.base64] version = "^0.13.0" [dependencies.bytes] version = "^1.1.0" [dependencies.chrono] version = "^0.4.19" features = ["serde"] [dependencies.derive_more] version = "^0.99.9" features = [ "display", "from", "from_str", ] default-features = false [dependencies.digest] version = "0.10.3" optional = true [dependencies.dyn-clone] version = "^1.0.5" [dependencies.fern] version = "^0.6.0" features = ["colored"] [dependencies.futures] version = "^0.3.21" [dependencies.lapin] version = "^1.0.0" optional = true [dependencies.log] version = "^0.4.14" [dependencies.md-5] version = "^0.10.1" optional = true [dependencies.mobc-lapin] version = "^0.7.0" optional = true [dependencies.mobc-redis] version = "^0.7.0" optional = true [dependencies.openssl] version = "^0.10.38" features = ["vendored"] [dependencies.prometheus] version = "^0.13.0" [dependencies.rbatis] version = "^3.0" features = [ "runtime-tokio-rustls", "all-database", ] optional = true default-features = false [dependencies.rbson] version = "^2.0" optional = true [dependencies.reqwest] version = "^0.11.8" features = ["json"] optional = true [dependencies.serde] version = "^1" features = ["derive"] [dependencies.serde_json] version = "^1" [dependencies.sha1] version = "^0.10.1" features = ["compress"] optional = true [dependencies.sha2] version = "^0.10.1" features = ["compress"] optional = true [dependencies.structopt] version = "^0.3" [dependencies.strum] version = "0.24.0" features = ["derive"] [dependencies.thiserror] version = "^1.0" [dependencies.tokio] version = "^1.4.0" features = [ "time", "process", "fs", "io-std", "io-util", "rt-multi-thread", "bytes", "rt", "macros", ] [dependencies.tokio-amqp] version = "^1.0.0" optional = true [dependencies.url] version = "^2.2.2" [dependencies.uuid] version = "^1.0.0-alpha.1" features = ["v4"] [dependencies.wildmatch] version = "2.1.0" [dev-dependencies.actix-rt] version = "2.6.0" [dev-dependencies.httptest] version = "0.15.4" [dev-dependencies.tempdir] version = "0.3.7" [features] all = [ "redis_info_storage", "db_info_storage", "http_notifier", "amqp_notifier", "hashers", ] amqp_notifier = [ "lapin", "tokio-amqp", "mobc-lapin", ] db_info_storage = [ "rbatis", "rbson", ] default = [] hashers = [ "md-5", "sha1", "sha2", "digest", ] http_notifier = ["reqwest"] integration_tests = [ "test_redis", "test_db", "test_rmq", ] metrics = [] redis_info_storage = ["mobc-redis"] test_db = [] test_redis = [] test_rmq = []