Straw's wrapper crate already owns the name 'strawcore' (and that name is baked into the Android .so file + Kotlin's System.loadLibrary call). Renaming this extractor crate to 'strawcore-core' resolves the cargo package-name collision so both can live in the same workspace dep tree. Repo name on Gitea stays Sulkta-Coop/strawcore.
43 lines
1 KiB
TOML
43 lines
1 KiB
TOML
[package]
|
|
name = "strawcore-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["Sulkta-Coop"]
|
|
repository = "http://192.168.0.5:3001/Sulkta-Coop/strawcore"
|
|
description = "Rust port of NewPipeExtractor (YT-only). Plugs into Straw via UniFFI."
|
|
|
|
[lib]
|
|
crate-type = ["rlib", "cdylib", "staticlib"]
|
|
|
|
[dependencies]
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots", "blocking", "gzip"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "1"
|
|
parking_lot = "0.12"
|
|
url = "2"
|
|
once_cell = "1"
|
|
regex = "1"
|
|
rquickjs = { version = "0.11", default-features = false }
|
|
ress = "0.12.0-alpha.1"
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1"
|
|
|
|
[features]
|
|
default = []
|
|
# `online-tests` gates network-dependent integration tests. Enable with
|
|
# `cargo test --features online-tests` once an internet route is available.
|
|
online-tests = []
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
opt-level = "z"
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = 1
|