# 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 = "2018" name = "ktra" version = "0.7.0" authors = ["moriturus "] description = "Your Little Cargo Registry" documentation = "https://book.ktra.dev" readme = "README.md" keywords = [ "ktra", "registry", "cargo", ] categories = [ "command-line-utilities", "development-tools", ] license = "MIT OR Apache-2.0" repository = "https://github.com/moriturus/ktra" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1" [dependencies.bson] version = "1.1" features = ["u2i"] optional = true [dependencies.bytes] version = "1.0" [dependencies.clap] version = "2.33" [dependencies.futures] version = "0.3" [dependencies.git2] version = "0.13" [dependencies.mongodb] version = "1.1" optional = true [dependencies.openidconnect] version = "2.1.1" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.redis] version = "0.19" features = ["tokio-comp"] optional = true [dependencies.reqwest] version = "0.11" features = [ "gzip", "brotli", "json", ] optional = true [dependencies.rust-argon2] version = "0.8" optional = true [dependencies.semver] version = "0.11" features = ["serde"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.9" [dependencies.sled] version = "0.34" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.1" features = [ "macros", "rt-multi-thread", "fs", "io-util", ] [dependencies.tokio-util] version = "0.6" features = ["io"] optional = true [dependencies.toml] version = "0.5" [dependencies.tracing] version = "0.1" [dependencies.tracing-futures] version = "0.2" [dependencies.tracing-subscriber] version = "0.2" [dependencies.url] version = "2.2" features = ["serde"] [dependencies.warp] version = "0.3" [features] crates-io-mirroring = [ "reqwest", "tokio-util", ] db-mongo = [ "mongodb", "bson", ] db-redis = ["redis"] db-sled = ["sled"] default = [ "secure-auth", "db-sled", "crates-io-mirroring", ] mirroring-dummy = [] openid = [ "openidconnect", "reqwest", ] secure-auth = [ "rand", "rust-argon2", ]