api/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Permalink Normal View History

2024-09-23 11:26:19 +01:00
[package]
name = "lnvps"
version = "0.1.0"
edition = "2021"
2024-11-04 23:10:32 +00:00
[[bin]]
name = "api"
2024-09-23 11:26:19 +01:00
2024-12-05 14:13:39 +00:00
[features]
2024-12-05 16:20:53 +00:00
default = ["mikrotik", "nostr-dm"]
2024-12-05 14:13:39 +00:00
mikrotik = []
2024-12-06 10:00:22 +00:00
nostr-dm = ["dep:nostr-sdk"]
2024-11-29 15:02:13 +00:00
2024-09-23 11:26:19 +01:00
[dependencies]
2024-11-24 23:09:29 +00:00
lnvps_db = { path = "lnvps_db" }
2024-09-23 11:26:19 +01:00
tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread", "macros"] }
anyhow = "1.0.83"
2024-11-24 23:09:29 +00:00
config = { version = "0.14.0", features = ["yaml"] }
2024-11-29 15:02:13 +00:00
log = "0.4.21"
2024-09-23 11:26:19 +01:00
pretty_env_logger = "0.5.0"
2024-10-26 19:36:06 +01:00
serde = { version = "1.0.213", features = ["derive"] }
reqwest = { version = "0.12.8" }
2024-11-03 15:43:45 +00:00
serde_json = "1.0.132"
2024-11-04 21:14:58 +00:00
rocket = { version = "0.5.1", features = ["json"] }
chrono = { version = "0.4.38", features = ["serde"] }
2024-11-29 15:02:13 +00:00
nostr = { version = "0.37.0", default-features = false, features = ["std"] }
2024-12-05 14:13:39 +00:00
base64 = { version = "0.22.1", features = ["alloc"] }
2024-11-25 22:45:27 +00:00
urlencoding = "2.1.3"
fedimint-tonic-lnd = { version = "0.2.0", default-features = false, features = ["invoicesrpc"] }
ipnetwork = "0.20.0"
rand = "0.8.5"
2024-11-29 11:18:02 +00:00
clap = { version = "4.5.21", features = ["derive"] }
2024-11-29 15:02:13 +00:00
ssh2 = "0.9.4"
ssh-key = "0.6.7"
2024-12-04 13:05:00 +00:00
lettre = { version = "0.11.10", features = ["tokio1-native-tls"] }
2024-12-21 18:01:41 +00:00
ws = { package = "rocket_ws", version = "0.1.0" }
tokio-tungstenite = { version = "^0.21", features = ["native-tls"] }
native-tls = "0.2.12"
2024-12-05 16:20:53 +00:00
2024-12-06 10:00:22 +00:00
#nostr-dm
2024-12-21 18:01:41 +00:00
nostr-sdk = { version = "0.37.0", optional = true, default-features = false, features = ["nip44", "nip59"] }