strawcore/Cargo.toml
Cobb Hayes c8dfc8a34a Public-flip audit: scrub audit-ticket prefixes + LAN refs + tighten README
URLs → git.sulkta.com. Audit-ticket prefixes (SPEC §N, audit Track X, vc=N
audit-fix, FIX (audit ...), PORT DEVIATION) stripped from comments — technical
reasoning retained. Crafting-table LAN refs softened to 'Sulkta build host'.
README sheds marketing scaffolding + stale status tables.
2026-05-27 13:29:52 -07:00

47 lines
1.3 KiB
TOML

[package]
name = "strawcore-core"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"
authors = ["Sulkta-Coop"]
repository = "https://git.sulkta.com/Sulkta-Coop/strawcore"
description = "Rust port of NewPipeExtractor (YT-only). Plugs into Straw via UniFFI."
[lib]
# rlib only — strawcore-core is consumed as a Rust library, NOT loaded
# directly by Android. The Straw wrapper crate is the cdylib + the
# .so Android calls System.loadLibrary("strawcore") for. Emitting a
# cdylib here too just bloats jniLibs by ~300 KB per ABI.
crate-type = ["rlib"]
[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