route96/Cargo.toml

51 lines
1.9 KiB
TOML
Raw Normal View History

2024-04-29 22:00:47 +01:00
[package]
2024-09-22 14:26:23 +01:00
name = "route96"
2024-12-11 09:48:52 +00:00
version = "0.4.0"
2024-04-29 22:00:47 +01:00
edition = "2021"
2024-09-26 14:38:00 +01:00
[[bin]]
name = "route96"
path = "src/bin/main.rs"
[lib]
name = "route96"
2024-05-29 15:23:14 +01:00
[features]
2025-02-04 13:06:26 +00:00
default = ["nip96", "blossom", "analytics", "react-ui", "payments"]
2024-11-11 14:56:27 +00:00
media-compression = ["dep:ffmpeg-rs-raw", "dep:libc"]
2025-02-04 13:06:26 +00:00
labels = ["media-compression", "dep:candle-core", "dep:candle-nn", "dep:candle-transformers"]
nip96 = ["media-compression"]
blossom = []
2024-09-26 23:57:28 +01:00
analytics = []
react-ui = []
2025-02-04 13:06:26 +00:00
payments = ["dep:fedimint-tonic-lnd"]
2024-05-29 15:23:14 +01:00
2024-04-29 22:00:47 +01:00
[dependencies]
log = "0.4.21"
2025-02-04 13:06:26 +00:00
nostr = "0.39.0"
2024-04-29 22:00:47 +01:00
pretty_env_logger = "0.5.0"
rocket = { version = "0.5.1", features = ["json"] }
2024-04-29 22:00:47 +01:00
tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread", "macros"] }
2024-08-30 19:49:29 +01:00
base64 = "0.22.1"
2024-10-04 18:00:37 +01:00
hex = { version = "0.4.3", features = ["serde"] }
2024-04-29 22:00:47 +01:00
serde = { version = "1.0.198", features = ["derive"] }
uuid = { version = "1.8.0", features = ["v4", "serde"] }
2024-11-11 14:56:27 +00:00
anyhow = "^1.0.82"
2024-04-29 22:00:47 +01:00
sha2 = "0.10.8"
2024-09-26 14:38:00 +01:00
sqlx = { version = "0.8.1", features = ["mysql", "runtime-tokio", "chrono", "uuid"] }
2025-02-04 13:06:26 +00:00
config = { version = "0.15.7", features = ["yaml"] }
2024-04-30 16:07:15 +01:00
chrono = { version = "0.4.38", features = ["serde"] }
2025-02-04 15:59:47 +00:00
reqwest = { version = "0.12.8", features = ["stream", "http2"] }
2024-11-12 09:52:32 +00:00
clap = { version = "4.5.18", features = ["derive"] }
2024-12-16 10:39:28 +00:00
mime2ext = "0.1.53"
2025-02-04 13:06:26 +00:00
infer = "0.19.0"
tokio-util = { version = "0.7.13", features = ["io", "io-util"] }
2025-02-04 13:06:26 +00:00
http-range-header = { version = "0.4.2" }
base58 = "0.2.0"
2024-09-22 14:26:23 +01:00
libc = { version = "0.2.153", optional = true }
2025-01-27 22:51:22 +00:00
ffmpeg-rs-raw = { git = "https://git.v0l.io/Kieran/ffmpeg-rs-raw.git", rev = "a63b88ef3c8f58c7c0ac57d361d06ff0bb3ed385", optional = true }
candle-core = { git = "https://git.v0l.io/huggingface/candle.git", tag = "0.8.1", optional = true }
candle-nn = { git = "https://git.v0l.io/huggingface/candle.git", tag = "0.8.1", optional = true }
candle-transformers = { git = "https://git.v0l.io/huggingface/candle.git", tag = "0.8.1", optional = true }
2025-02-04 15:59:47 +00:00
fedimint-tonic-lnd = { version = "0.2.0", optional = true, default-features = false, features = ["invoicesrpc", "lightningrpc"] }