# 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 = "pgtemp" version = "0.5.0" authors = ["Harry Stern "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Start local postgres servers for testing without Docker" readme = "README.md" license = "MIT" repository = "https://github.com/boustrophedon/pgtemp" [lib] name = "pgtemp" path = "src/lib.rs" [[bin]] name = "pgtemp" path = "src/main.rs" test = false bench = false required-features = ["cli"] [[example]] name = "diesel-axum" path = "examples/diesel-axum.rs" [[example]] name = "sqlx-axum-taskqueue" path = "examples/sqlx-axum-taskqueue.rs" [[test]] name = "basic_operations" path = "tests/basic_operations.rs" [[test]] name = "cleanup_on_panic" path = "tests/cleanup_on_panic.rs" [[test]] name = "daemon" path = "tests/daemon.rs" [[test]] name = "dump" path = "tests/dump.rs" [[test]] name = "startup" path = "tests/startup.rs" [dependencies.clap] version = "^4.4" features = ["derive"] optional = true [dependencies.libc] version = "^0.2" [dependencies.tempfile] version = "^3" [dependencies.tokio] version = "^1" features = ["full"] [dependencies.url] version = "^2.5" [dev-dependencies.axum] version = "^0.7" features = ["macros"] [dev-dependencies.diesel] version = "^2.1" features = [ "postgres", "r2d2", ] [dev-dependencies.diesel_migrations] version = "^2.1" [dev-dependencies.reqwest] version = "^0.11" [dev-dependencies.sqlx] version = "^0.7" features = [ "runtime-tokio", "postgres", "migrate", ] [features] cli = ["dep:clap"]