route96/Cargo.toml

55 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 = "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 = "route96"
path = "src/bin/main.rs"
[lib]
name = "route96"
2024-05-29 15:23:14 +01:00
[features]
2024-09-26 23:57:28 +01:00
default = ["nip96", "blossom", "analytics"]
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"]
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-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.0", features = ["json"] }
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"] }
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
url = "2.5.0"
serde_with = { version = "3.8.1", features = ["hex"] }
2024-10-15 11:27:29 +01:00
reqwest = "0.12.8"
2024-11-12 09:52:32 +00:00
clap = { version = "4.5.18", features = ["derive"] }
2024-09-22 14:26:23 +01:00
libc = { version = "0.2.153", optional = true }
ffmpeg-rs-raw = { git = "https://git.v0l.io/Kieran/ffmpeg-rs-raw.git", rev = "b358b3e4209da827e021d979c7d35876594d0285", 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"] }
mime2ext = "0.1.53"