diff options
| author | Stefan Kreutz <mail@skreutz.com> | 2026-04-30 10:10:46 +0200 |
|---|---|---|
| committer | Stefan Kreutz <mail@skreutz.com> | 2026-04-30 10:10:46 +0200 |
| commit | 46a3d2ba70decd1931e13c190bfa49217e57718d (patch) | |
| tree | 49bc767c52d0cb4cf8443782cae1cc641ef59343 /Cargo.toml | |
| parent | 47421e41def84ab92a52906f01266b1044fbfe29 (diff) | |
| download | temp-postgres-46a3d2ba70decd1931e13c190bfa49217e57718d.tar.gz | |
Rewrite in async Rust
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..8fb8dd9 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,56 @@ +[package] +# Crate temp-postgres on crates.io is a library of a different project. +name = "temp-postgres-command" +version = "0.4.0" +edition = "2024" +authors = ["Stefan Kreutz <mail@skreutz.com>"] +description = "Run the PostgreSQL server off a temporary data directory" +readme = "README.md" +repository = "https://git.skreutz.com/temp-postgres.git" +license = "MIT OR Apache-2.0" +keywords = ["temporary", "postgresql", "database"] +categories = ["command-line-utilities", "database", "development-tools"] +publish = true + +[lints.rust] +unsafe_code = "forbid" +missing_docs = "warn" + +[dependencies] +anyhow = "1.0.102" +clap = { version = "4.6.1", features = [ + "derive", + "unstable-markdown", + "env", + "string", +] } +color-print = "0.3.7" +humantime = "2.3.0" +nix = { version = "0.31.2", features = ["signal"] } +tempfile = "3.27.0" +tokio = { version = "1.52.1", features = [ + "process", + "rt", + "macros", + "rt-multi-thread", + "signal", + "time", + "fs", +] } +tokio-util = "0.7.18" +tracing = "0.1.44" +tracing-subscriber = "0.3.23" +url = "2.5.8" + +[dev-dependencies] +assert_cmd = "2.2.1" +assert_fs = "1.1.3" +predicates = "3.1.4" +testresult = "0.4.1" + +[build-dependencies] +vergen-gitcl = "9.1.0" + +[[bin]] +name = "temp-postgres" +path = "src/main.rs" |