2024-04-29 22:00:47 +01:00
|
|
|
[package]
|
2024-09-22 14:26:23 +01:00
|
|
|
name = "route96"
|
|
|
|
version = "0.2.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-10-15 11:14:07 +01:00
|
|
|
media-compression = ["dep:ffmpeg-sys-the-third", "dep:blurhash", "dep:libc"]
|
2024-08-30 19:49:29 +01:00
|
|
|
labels = ["nip96", "dep:candle-core", "dep:candle-nn", "dep:candle-transformers"]
|
2024-10-15 11:14:07 +01:00
|
|
|
nip96 = ["media-compression"]
|
|
|
|
blossom = []
|
2024-09-26 23:04:35 +01:00
|
|
|
bin-void-cat-migrate = ["dep:sqlx-postgres", "dep:clap", "dep:clap_derive"]
|
2024-09-26 23:57:28 +01:00
|
|
|
torrent-v2 = []
|
|
|
|
analytics = []
|
2024-05-29 15:23:14 +01:00
|
|
|
|
2024-04-29 22:00:47 +01:00
|
|
|
[dependencies]
|
|
|
|
log = "0.4.21"
|
2024-10-15 10:47:36 +01:00
|
|
|
nostr = "0.35.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"] }
|
|
|
|
anyhow = "1.0.82"
|
|
|
|
sha2 = "0.10.8"
|
2024-09-26 14:38:00 +01:00
|
|
|
sqlx = { version = "0.8.1", features = ["mysql", "runtime-tokio", "chrono", "uuid"] }
|
2024-04-29 22:00:47 +01:00
|
|
|
config = { version = "0.14.0", features = ["toml"] }
|
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-09-22 14:26:23 +01:00
|
|
|
|
|
|
|
libc = { version = "0.2.153", optional = true }
|
|
|
|
blurhash = { version = "0.2.1", optional = true }
|
2024-09-26 14:38:00 +01:00
|
|
|
ffmpeg-sys-the-third = { version = "2.0.0", features = ["default"], optional = true }
|
2024-08-30 19:49:29 +01: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 14:38:00 +01:00
|
|
|
clap = { version = "4.5.18", features = ["derive"], optional = true }
|
|
|
|
sqlx-postgres = { version = "0.8.2", optional = true, features = ["chrono", "uuid"] }
|
2024-10-15 11:27:29 +01:00
|
|
|
clap_derive = { version = "4.5.18", optional = true }
|