route96/Cargo.toml

75 lines
2.6 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 = "void_cat_migrate"
2024-09-26 23:04:35 +01:00
required-features = ["bin-void-cat-migrate"]
2024-09-26 14:38:00 +01:00
[[bin]]
name = "void_cat_forced_migrate"
required-features = ["bin-void-cat-force-migrate"]
2024-09-26 14:38:00 +01:00
[[bin]]
name = "route96"
path = "src/bin/main.rs"
2025-02-10 20:48:40 +00:00
[[bin]]
name = "r96util"
path = "src/bin/r96util.rs"
2025-02-12 13:50:59 +00:00
required-features = ["r96util"]
2025-02-10 20:48:40 +00:00
2024-09-26 14:38:00 +01:00
[lib]
name = "route96"
2024-05-29 15:23:14 +01:00
[features]
default = ["nip96", "blossom", "analytics", "ranges", "react-ui"]
2024-11-11 14:56:27 +00:00
media-compression = ["dep:ffmpeg-rs-raw", "dep:libc"]
2024-08-30 19:49:29 +01:00
labels = ["nip96", "dep:candle-core", "dep:candle-nn", "dep:candle-transformers"]
nip96 = ["media-compression"]
blossom = []
2024-11-12 09:52:32 +00:00
bin-void-cat-migrate = ["dep:sqlx-postgres"]
bin-void-cat-force-migrate = ["dep:regex", "dep:nostr-cursor"]
2024-09-26 23:57:28 +01:00
torrent-v2 = []
analytics = []
2024-10-15 12:17:03 +01:00
void-cat-redirects = ["dep:sqlx-postgres"]
2024-12-16 10:39:28 +00:00
ranges = ["dep:http-range-header"]
react-ui = []
2025-02-12 13:50:59 +00:00
r96util = ["dep:walkdir", "dep:indicatif"]
2024-05-29 15:23:14 +01:00
2024-04-29 22:00:47 +01:00
[dependencies]
log = "0.4.21"
2024-12-11 09:46:00 +00:00
nostr = "0.37.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"] }
2024-12-11 09:46:00 +00:00
config = { version = "0.14.0", features = ["yaml"] }
2024-04-30 16:07:15 +01:00
chrono = { version = "0.4.38", features = ["serde"] }
2024-05-16 21:55:55 +01:00
serde_with = { version = "3.8.1", features = ["hex"] }
reqwest = { version = "0.12.8", features = ["stream"] }
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"
infer = "0.16.0"
tokio-util = { version = "0.7.13", features = ["io", "io-util"] }
2025-02-12 13:50:59 +00:00
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 }
sqlx-postgres = { version = "0.8.2", optional = true, features = ["chrono", "uuid"] }
2024-12-16 10:39:28 +00:00
http-range-header = { version = "0.4.2", optional = true }
nostr-cursor = { git = "https://git.v0l.io/Kieran/nostr_backup_proc.git", branch = "main", optional = true }
2025-02-12 11:23:31 +00:00
regex = { version = "1.11.1", optional = true }
2025-02-12 13:50:59 +00:00
walkdir = { version = "2.5.0", optional = true }
indicatif = { version = "0.17.11", optional = true }