fn main() -> Result<(), Box<dyn std::error::Error>> {
    // --8<-- [start:df]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:df]

    // --8<-- [start:existence]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:existence]

    // --8<-- [start:extract]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:extract]

    // --8<-- [start:extract_all]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:extract_all]

    // --8<-- [start:replace]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:replace]

    // --8<-- [start:casing]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:casing]

    // --8<-- [start:strip]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:strip]

    // --8<-- [start:slice]
    // Contribute the Rust translation of the Python example by opening a PR.
    // --8<-- [end:slice]

    Ok(())
}
