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.
34 lines
940 B
TOML
34 lines
940 B
TOML
# Straw Rust core — workspace.
|
|
# Hosts the JNI/UniFFI-exported library that replaces NewPipeExtractor.
|
|
#
|
|
# Builds via cargo-ndk for the four Android ABIs (arm64-v8a, armeabi-v7a,
|
|
# x86, x86_64). The Mozilla rust-android-gradle plugin wires this into the
|
|
# strawApp Gradle build so `./gradlew assembleDebug` produces a single APK
|
|
# with the .so files packed inside.
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
members = ["strawcore"]
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["Sulkta-Coop"]
|
|
repository = "https://git.sulkta.com/Sulkta-Coop/straw"
|
|
|
|
[profile.release]
|
|
# Strip debug info, run thin LTO. APK size matters more than build time here.
|
|
strip = true
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
opt-level = "z"
|
|
|
|
# `url` crate for video-id extraction in stream.rs.
|
|
[workspace.dependencies]
|
|
url = "2"
|
|
|
|
[profile.dev]
|
|
# Keep debug builds fast — we rebuild often during NDK cross-compile.
|
|
opt-level = 0
|
|
debug = 1
|