[package] name = "lnvps" version = "0.1.0" edition = "2021" [[bin]] name = "api" [features] default = ["mikrotik", "nostr-dm", "proxmox", "lnd", "cloudflare", "revolut", "bitvora"] mikrotik = ["dep:reqwest"] nostr-dm = ["dep:nostr-sdk"] proxmox = ["dep:reqwest", "dep:ssh2", "dep:tokio-tungstenite"] libvirt = ["dep:virt"] lnd = ["dep:fedimint-tonic-lnd"] bitvora = ["dep:reqwest", "dep:tokio-stream"] cloudflare = ["dep:reqwest"] revolut = ["dep:reqwest", "dep:sha2", "dep:hmac"] [dependencies] lnvps_db = { path = "lnvps_db" } tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread", "macros", "sync"] } anyhow = "1.0.83" config = { version = "0.15.8", features = ["yaml"] } log = "0.4.21" fern = "0.7.1" serde = { version = "1.0.213", features = ["derive"] } serde_json = "1.0.132" rocket = { version = "0.5.1", features = ["json"] } rocket_okapi = { version = "0.9.0", features = ["swagger"] } schemars = { version = "0.8.22", features = ["chrono"] } chrono = { version = "0.4.38", features = ["serde"] } base64 = { version = "0.22.1", features = ["alloc"] } urlencoding = "2.1.3" ipnetwork = { git = "https://git.v0l.io/Kieran/ipnetwork.git", rev = "35977adc8103cfc232bc95fbc32f4e34f2b6a6d7" } rand = "0.9.0" clap = { version = "4.5.21", features = ["derive"] } ssh-key = "0.6.7" lettre = { version = "0.11.10", features = ["tokio1-native-tls"] } ws = { package = "rocket_ws", version = "0.1.0" } native-tls = "0.2.12" hex = "0.4.3" futures = "0.3.31" isocountry = "0.3.2" #nostr-dm nostr = { version = "0.39.0", default-features = false, features = ["std"] } nostr-sdk = { version = "0.39.0", optional = true, default-features = false, features = ["nip44", "nip59"] } #proxmox tokio-tungstenite = { version = "^0.21", features = ["native-tls"], optional = true } ssh2 = { version = "0.9.4", optional = true } reqwest = { version = "0.12.8", optional = true } #libvirt virt = { version = "0.4.2", optional = true } #lnd fedimint-tonic-lnd = { version = "0.2.0", default-features = false, features = ["invoicesrpc"], optional = true } #bitvora tokio-stream = { version = "0.1.17", features = ["sync"], optional = true } #revolut sha2 = { version = "0.10.8", optional = true } hmac = { version = "0.12.1", optional = true }