-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
52 lines (47 loc) · 1.91 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "external-postgres"
description = "Manage an external PostgreSQL server from K8S"
authors = ["WaffleHacks <[email protected]>"]
version = "0.1.3"
edition = "2021"
repository = "https://github.com/WaffleHacks/external-postgres"
readme = "README.md"
license-file = "LICENSE.md"
[lib]
[dependencies]
axum = { version = "0.6.9", default-features = false, features = ["http1", "http2", "json", "query", "tokio"] }
clap = { version = "4.1.7", features = ["derive", "env"] }
color-eyre = "0.6.2"
dotenvy = "0.15.6"
eyre = "0.6.8"
futures = "0.3.26"
k8s-openapi = { version = "0.17.0", features = ["v1_25"] }
kube = { version = "0.79.0", features = ["client", "derive", "runtime"] }
parking_lot = { version = "0.12.1", features = ["arc_lock"] }
reqwest = { version = "0.11.14", default-features = false, features = ["json", "native-tls"] }
schemars = "0.8.12"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
shellexpand = "3.0.0"
sqlx = { version = "0.6.2", features = ["macros", "migrate", "offline", "postgres", "runtime-tokio-native-tls"] }
thiserror = "1.0.38"
tokio = { version = "1.25.0", features = ["macros", "rt", "rt-multi-thread", "signal"] }
tower-http = { version = "0.4.0", default-features = false, features = ["request-id", "trace"] }
tracing = { version = "0.1.37", features = ["log"] }
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "registry"] }
url = "2.3.1"
uuid = { version = "1.3.0", features = ["v4"] }
[package.metadata.deb]
name = "external-postgres"
maintainer-scripts = "debian/"
separate-debug-symbols = true
assets = [
["target/release/external-postgres", "/usr/bin/external-postgres", "755"],
[".env.example", "/etc/external-postgres/.env", "644"],
["README.md", "/usr/share/doc/external-postgres/README.md", "644"]
]
[package.metadata.deb.systemd-units]
start = true
enable = true
restart-after-upgrade = true