# 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_embedded" version = "0.17.3" authors = ["Brian Heineman "] build = "build/build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be bundled with your application, or downloaded on demand." 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", "theseus", "tokio", ] no-default-features = true targets = ["x86_64-unknown-linux-gnu"] [package.metadata.release] dependent-version = "upgrade" [lib] name = "postgresql_embedded" path = "src/lib.rs" [[test]] name = "blocking" path = "tests/blocking.rs" [[test]] name = "dump_command" path = "tests/dump_command.rs" [[test]] name = "environment_variables" path = "tests/environment_variables.rs" [[test]] name = "postgresql" path = "tests/postgresql.rs" [[test]] name = "start_config" path = "tests/start_config.rs" [[test]] name = "zonky" path = "tests/zonky.rs" [[bench]] name = "embedded" path = "benches/embedded.rs" harness = false [dependencies.anyhow] version = "1.0.93" [dependencies.home] version = "0.5.9" [dependencies.postgresql_archive] version = "0.17.3" default-features = false [dependencies.postgresql_commands] version = "0.17.3" [dependencies.rand] version = "0.8.5" [dependencies.semver] version = "1.0.23" [dependencies.sqlx] version = "0.8.2" features = [ "postgres", "runtime-tokio", ] default-features = false [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.url] version = "2.5.3" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.test-log] version = "0.2.16" [dev-dependencies.tokio] version = "1.41.1" features = ["full"] [build-dependencies.anyhow] version = "1.0.93" [build-dependencies.postgresql_archive] version = "0.17.3" default-features = false [build-dependencies.target-triple] version = "0.1.3" [build-dependencies.tokio] version = "1.41.1" features = ["full"] [build-dependencies.url] version = "2.5.3" [features] blocking = ["tokio"] bundled = ["postgresql_archive/github"] default = [ "native-tls", "theseus", ] native-tls = [ "postgresql_archive/native-tls", "sqlx/tls-native-tls", ] rustls-tls = [ "postgresql_archive/rustls-tls", "sqlx/tls-rustls", ] theseus = ["postgresql_archive/theseus"] tokio = [ "dep:tokio", "postgresql_commands/tokio", "sqlx/runtime-tokio", ] zonky = ["postgresql_archive/zonky"]