route96/Cargo.toml

55 lines
1.9 KiB
TOML
Raw Normal View History

2024-04-29 21:00:47 +00:00
[package]
2024-09-22 13:26:23 +00:00
name = "route96"
version = "0.2.0"
2024-04-29 21:00:47 +00:00
edition = "2021"
2024-09-26 13:38:00 +00:00
[[bin]]
name = "void_cat_migrate"
2024-09-26 22:04:35 +00:00
required-features = ["bin-void-cat-migrate"]
2024-09-26 13:38:00 +00:00
[[bin]]
name = "route96"
path = "src/bin/main.rs"
[lib]
name = "route96"
2024-05-29 14:23:14 +00:00
[features]
2024-09-26 22:57:28 +00:00
default = ["nip96", "blossom", "analytics"]
2024-08-30 18:49:29 +00:00
labels = ["nip96", "dep:candle-core", "dep:candle-nn", "dep:candle-transformers"]
nip96 = ["dep:ffmpeg-sys-the-third", "dep:blurhash", "dep:libc"]
blossom = []
2024-09-26 22:04:35 +00:00
bin-void-cat-migrate = ["dep:sqlx-postgres", "dep:clap", "dep:clap_derive"]
2024-09-26 22:57:28 +00:00
torrent-v2 = []
analytics = []
2024-05-29 14:23:14 +00:00
2024-04-29 21:00:47 +00:00
[dependencies]
log = "0.4.21"
2024-08-30 18:49:29 +00:00
nostr = "0.34.1"
2024-04-29 21:00:47 +00: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 18:49:29 +00:00
base64 = "0.22.1"
2024-10-04 17:00:37 +00:00
hex = { version = "0.4.3", features = ["serde"] }
2024-04-29 21:00:47 +00:00
serde = { version = "1.0.198", features = ["derive"] }
uuid = { version = "1.8.0", features = ["v4"] }
anyhow = "1.0.82"
sha2 = "0.10.8"
2024-09-26 13:38:00 +00:00
sqlx = { version = "0.8.1", features = ["mysql", "runtime-tokio", "chrono", "uuid"] }
2024-04-29 21:00:47 +00:00
config = { version = "0.14.0", features = ["toml"] }
2024-04-30 15:07:15 +00:00
chrono = { version = "0.4.38", features = ["serde"] }
2024-05-16 20:55:55 +00:00
url = "2.5.0"
serde_with = { version = "3.8.1", features = ["hex"] }
2024-09-22 13:26:23 +00:00
ureq = { version = "2.9.7", features = ["json"] }
libc = { version = "0.2.153", optional = true }
blurhash = { version = "0.2.1", optional = true }
2024-09-26 13:38:00 +00:00
ffmpeg-sys-the-third = { version = "2.0.0", features = ["default"], optional = true }
2024-08-30 18:49:29 +00:00
candle-core = { git = "https://github.com/huggingface/candle.git", version = "^0.6.1", optional = true }
candle-nn = { git = "https://github.com/huggingface/candle.git", version = "^0.6.1", optional = true }
candle-transformers = { git = "https://github.com/huggingface/candle.git", version = "^0.6.1", optional = true }
2024-09-26 13:38:00 +00:00
clap = { version = "4.5.18", features = ["derive"], optional = true }
sqlx-postgres = { version = "0.8.2", optional = true, features = ["chrono", "uuid"] }
clap_derive = { version = "4.5.18", optional = true }
2024-05-29 14:23:14 +00:00