# 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" rust-version = "1.76.0" name = "warg-server" version = "0.9.1" authors = ["The Warg Registry Project Developers"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A server library for Warg component registries." homepage = "https://warg.io/" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/registry" [lib] name = "warg_server" path = "src/lib.rs" [[bin]] name = "warg-server" path = "src/bin/warg-server.rs" [dependencies.anyhow] version = "1.0.79" [dependencies.axum] version = "0.7.4" features = [ "http2", "macros", ] [dependencies.bytes] version = "1.5.0" [dependencies.chrono] version = "0.4.33" optional = true [dependencies.clap] version = "4.3.24" features = [ "derive", "env", ] [dependencies.diesel] version = "2.1.4" features = [ "postgres", "serde_json", "chrono", ] optional = true [dependencies.diesel-async] version = "0.4.1" features = [ "postgres", "deadpool", ] optional = true [dependencies.diesel-derive-enum] version = "2.1.0" features = ["postgres"] optional = true [dependencies.diesel_json] version = "0.2.1" optional = true [dependencies.diesel_migrations] version = "2.1.0" optional = true [dependencies.futures] version = "0.3.30" [dependencies.indexmap] version = "2.2.4" features = ["serde"] [dependencies.secrecy] version = "0.8.0" [dependencies.serde] version = "1.0.196" features = [ "derive", "rc", "derive", ] [dependencies.serde_json] version = "1.0.113" optional = true [dependencies.tempfile] version = "3.10.0" [dependencies.thiserror] version = "1.0.56" [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.tokio-util] version = "0.7.10" [dependencies.toml] version = "0.8.2" [dependencies.tower] version = "0.4.13" [dependencies.tower-http] version = "0.5.1" features = [ "fs", "trace", "cors", ] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" [dependencies.url] version = "2.5.0" [dependencies.warg-api] version = "0.9.1" [dependencies.warg-crypto] version = "0.9.1" [dependencies.warg-protocol] version = "0.9.1" [dependencies.warg-transparency] version = "0.9.1" [dependencies.wasmparser] version = "0.121.0" [features] debug = [] default = [] postgres = [ "diesel", "diesel-async", "diesel_json", "diesel_migrations", "diesel-derive-enum", "serde_json", "chrono", ]