# 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 = "postgresql_archive" version = "0.17.3" authors = ["Brian Heineman "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library for downloading and extracting PostgreSQL archives" readme = "README.md" keywords = [ "postgresql", "postgres", "embedded", "database", "server", ] categories = ["database"] license = "(Apache-2.0 OR MIT) AND PostgreSQL" repository = "https://github.com/theseus-rs/postgresql-embedded" [package.metadata.docs.rs] features = ["blocking"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "postgresql_archive" path = "src/lib.rs" [[test]] name = "archive" path = "tests/archive.rs" [[test]] name = "blocking" path = "tests/blocking.rs" [[test]] name = "zonky" path = "tests/zonky.rs" [[bench]] name = "archive" path = "benches/archive.rs" harness = false [dependencies.anyhow] version = "1.0.93" [dependencies.async-trait] version = "0.1.83" [dependencies.flate2] version = "1.0.34" [dependencies.futures-util] version = "0.3.30" [dependencies.hex] version = "0.4.3" [dependencies.http] version = "1.1.0" [dependencies.human_bytes] version = "0.4.3" default-features = false [dependencies.liblzma] version = "0.3.4" [dependencies.md-5] version = "0.10.6" optional = true [dependencies.num-format] version = "0.4.4" [dependencies.quick-xml] version = "0.37.0" features = ["serialize"] optional = true [dependencies.regex] version = "1.11.1" [dependencies.reqwest] version = "0.12.9" features = [ "json", "stream", ] default-features = false [dependencies.reqwest-middleware] version = "0.4.0" [dependencies.reqwest-retry] version = "0.7.0" [dependencies.reqwest-tracing] version = "0.5.4" [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.215" features = ["derive"] [dependencies.serde_json] version = "1.0.128" optional = true [dependencies.sha1] version = "0.10.6" optional = true [dependencies.sha2] version = "0.10.8" optional = true [dependencies.tar] version = "0.4.43" [dependencies.target-triple] version = "0.1.3" optional = true [dependencies.tempfile] version = "3.14.0" [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.41.1" features = ["full"] optional = true [dependencies.tracing] version = "0.1.40" features = ["log"] [dependencies.tracing-indicatif] version = "0.3.6" [dependencies.url] version = "2.5.3" [dependencies.zip] version = "2.2.0" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.test-log] version = "0.2.16" [dev-dependencies.tokio] version = "1.41.1" [features] blocking = ["dep:tokio"] default = [ "native-tls", "theseus", ] github = ["dep:serde_json"] maven = [ "dep:quick-xml", "md5", "sha1", "sha2", ] md5 = ["dep:md-5"] native-tls = ["reqwest/native-tls"] rustls-tls = ["reqwest/rustls-tls-native-roots"] sha1 = ["dep:sha1"] sha2 = ["dep:sha2"] theseus = [ "dep:target-triple", "github", "sha2", ] zonky = ["maven"]