Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

2.7 KB
Raw Blame
[package]
name = "libreget-core"
version = "0.2.16"
edition = "2021"

[lib]
name = "libreget_core"

[features]
default = ["desktop"]
desktop = []
mobile = []

[dependencies]
# Edge TTS (core/tools/edge_tts.rs) fala WebSocket com o servico do Edge.
tokio-tungstenite = { version = "0.30.0", features = ["native-tls"] }
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "cookies", "stream", "http2", "gzip", "brotli", "deflate", "rustls-tls", "multipart"] }
futures = "0.3"
async-trait = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
regex = "1"
m3u8-rs = "6"
aes = "0.8"
cbc = "0.1"
anyhow = "1"
tracing = "0.1"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
dirs = "6"
sanitize-filename = "0.6"
unicode-normalization = "0.1"
tokio-util = { version = "0.7", features = ["rt"] }
url = "2"
urlencoding = "2"
rand = "0.10.0"
base64 = "0.22.1"
sha2 = "0.10"
hmac = "0.12"
murmur3 = "0.5"
md-5 = "0.10"
sha1 = "0.10"
hex = "0.4"
once_cell = "1"
thiserror = "1"
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
filetime = "0.2.27"
# Tools: leitura de EXIF/GPS em img-exif (Rust puro, sem C).
kamadak-exif = "0.6"
zip = { version = "8", default-features = false, features = ["deflate"] }
tar = "0.4"
flate2 = "1"
xz2 = { version = "0.1", features = ["static"] }
open = "5"
# Pinterest (core/tools/pinterest): dHash de duplicados, paleta e WebP -> PNG.
# Tools: PDF (libloading carrega o PDFium gerido), Sistema (walkdir + trash),
# Autoclicker e ditado (enigo), espaco em disco (fs4).
# PDF: o PDFium só lê e renderiza; escrever estrutura (senha, marca d'água,
# CropBox, sumário) é o lopdf, MIT e Rust puro.
lopdf = { version = "0.45", default-features = false, features = ["chrono"] }
libloading = "0.8"
walkdir = "2"
trash = "5"
enigo = { version = "0.6", default-features = false, features = ["x11rb"] }
fs4 = "1"
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp", "gif", "ico"] }
# Renderizado vectorial SVG (Google Slides / Calameo -> PDF 16:9) em Rust puro.
resvg = "0.44"
# Tags de audio (ID3/Vorbis/MP4) em Rust puro, sem binario externo.
lofty = "0.25"
# HTML -> Markdown para exportar posts (Substack/Medium), mesmo padrao do pdf-to-markdown.
htmd = "0.5"
# Planilha .xlsx para a extracao de tabelas de PDF (o CSV nao depende disso).
rust_xlsxwriter = "0.99"
# ONNX Runtime: "load-dynamic" NAO linka nada no build; a lib nativa e um
# binario gerido, baixado sob demanda igual ao PDFium e ao Real-ESRGAN.
ort = { version = "2.0.0-rc.13", default-features = false, features = ["std", "ndarray", "tracing", "load-dynamic", "api-27"] }
ndarray = "0.17"