summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml56
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"
Generated by cgit. See skreutz.com for my tech blog and contact information.