[package] name = "pg-embed-alternative" version = "0.8.0-rc1" license = "MIT/Apache-2.0" readme = "README.md" repository = "https://github.com/jayy-lmao/pg-embed/tree/feat/remove-usage-of-archive-rs" documentation = "https://docs.rs/pg-embed" description = "Run a Postgresql database locally on Linux, MacOS or Windows as part of another Rust application or test." edition = "2018" keywords = ["database", "postgres", "postgresql", "embedded", "server"] categories = [ "database", "database-implementations", "development-tools", "asynchronous", ] authors = ["Franz-Aliu Okunega "] [features] default = ["rt_tokio_migrate"] # for now only rt_tokio or rt_tokio_migrate can be used rt_tokio = ["tokio", "reqwest"] rt_tokio_migrate = ["tokio", "reqwest", "sqlx_tokio"] [dependencies] reqwest = { version = "0.11", optional = true } #reqwest = { version = "0.11", optional = true, default-features = false } tokio = { version = "1", features = ["full"], optional = true } futures = "0.3" thiserror = "1.0" # Waiting for https://github.com/JoyMoe/archiver-rs/pull/6 sqlx_tokio = { version = "0.6", features = [ "runtime-tokio-rustls", "postgres", "migrate", ], package = "sqlx", optional = true } zip = "0.6" log = "0.4" dirs = "5.0.1" bytes = "1.0" lazy_static = "1.4" async-trait = "0.1" xz2 = "0.1.7" tar = "0.4.39" [dev-dependencies] serial_test = "2.0.0" env_logger = "0.10" [[test]] name = "migration_tokio" path = "tests/migration_tokio.rs" required-features = ["rt_tokio_migrate"] [[test]] name = "postgres_tokio1" path = "tests/postgres_tokio.rs" required-features = ["rt_tokio"] [[test]] name = "postgres_tokio2" path = "tests/postgres_tokio.rs" required-features = ["rt_tokio_migrate"]