cargo-registry 0.1.0

Backend of crates.io
Documentation
[project]
name = "cargo-registry"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
version = "0.1.0"
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang/crates.io"
description = "Backend of crates.io"

[workspace]

[profile.release]
opt-level = 2

[lib]
name = "cargo_registry"
doctest = false

[[test]]
name = "all"
path = "src/tests/all.rs"

[dependencies]
cargo-registry-s3 = { path = "src/s3", version = "0.1.0" }
rand = "0.3"
time = "0.1"
git2 = "0.6.4"
flate2 = "0.2"
semver = "0.5"
url = "1.2.1"

# Needs to be locked down because postgres-shared 0.2.1 allows serde_json 1.0.
# When postgres, diesel, and this repo can be updated to all use serde_json >1.0,
# this restriction can be removed.
postgres-shared = "=0.2.0"

postgres = { version = "0.14.0", features = ["with-time", "with-openssl", "with-serde_json", "with-chrono"] }
r2d2 = "0.7.0"
r2d2_postgres = "0.12.0"
openssl = "0.9.9"
curl = "0.4"
oauth2 = "0.3"
log = "0.3"
env_logger = "0.4"
rustc-serialize = "0.3"
license-exprs = "^1.3"
dotenv = "0.10.0"
toml = "0.2"
diesel = { version = "0.12.0", features = ["postgres", "serde_json", "deprecated-time"] }
diesel_codegen = "0.12.0"
r2d2-diesel = "0.12.0"
diesel_full_text_search = "0.12.0"
serde_json = "0.9.9"
serde_derive = "0.9.11"
serde = "0.9.11"
clippy = { version = "=0.0.118", optional = true }
chrono = "0.3.0"

conduit = "0.8"
conduit-conditional-get = "0.8"
conduit-cookie = "0.8"
conduit-json-parser = "0.8"
conduit-log-requests = "0.8"
conduit-middleware = "0.8"
conduit-router = "0.8"
conduit-static = "0.8"
conduit-git-http-backend = "0.8"
civet = "0.9"

[dev-dependencies]
conduit-test = "0.8"
bufstream = "0.1"

[features]
unstable = []
lint = ["clippy"]