trek-rs 0.2.1

A web content extraction library that removes clutter from web pages
Documentation
1
2
3
4
5
6
7
8
9
fn main() {
    // For WASM builds, we need to configure getrandom properly
    if std::env::var("TARGET")
        .unwrap_or_default()
        .contains("wasm32")
    {
        println!("cargo:rustc-cfg=getrandom_backend=\"js\"");
    }
}