tripcode 0.2.1

A library for generating tripcodes on imageboards and textboards.
Documentation

Build #4377200 2026-09-08 14:57:20

# rustc version rustc 1.100.0-nightly (cea272fa3 2026-09-07)

# docs.rs version docsrs 0.0.0 (bbe8284d494398efa390829fb7f0bf2364bcdf59 2026-09-08 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "b2690fa328f95f3e6badd7a22fd17dcb78a4d83ec35dc8f6f784e5c51e9481ae" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260907-1.100.0-nightly-cea272fa3\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `tripcode` (manifest) generated 2 warnings [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting tripcode v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/util.rs:152:22 [INFO] [stderr] | [INFO] [stderr] 152 | d @ 0...0x3F => d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 158 | Some((try_dec!(salt1) << 26) | (try_dec!(salt2) << 18)) [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/util.rs:152:22 [INFO] [stderr] | [INFO] [stderr] 152 | d @ 0...0x3F => d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 158 | Some((try_dec!(salt1) << 26) | (try_dec!(salt2) << 18)) [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 274 | ret |= try_dec!(enc_dec::Crypt::decode(c)); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 277 | ret |= try_dec!(enc_dec::CryptLastChar::decode(tripcode[9])); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 331 | ret.0 |= try_dec!(enc_dec::Base64::decode(c)); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 335 | let d11 = try_dec!(enc_dec::Base64::decode(tripcode[10])); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 337 | ret.1 = (d11 << 6 | try_dec!(enc_dec::Base64::decode(tripcode[11]))) as u8; [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 496 | ret.0 |= try_dec!(D::decode(c)); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 502 | ret.1 |= try_dec!(D::decode(c)) as u32; [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 599 | ret.0 |= try_dec_kana!(iter) as u64; [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` which comes from the expansion of the macro `try_dec_kana` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/hash/mod.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | 0...0x3F => $d, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 605 | ret.1 |= try_dec_kana!(iter) as u32; [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_dec` which comes from the expansion of the macro `try_dec_kana` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:533:26 [INFO] [stderr] | [INFO] [stderr] 533 | x @ 0...0xF => x, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 542 | let byte = (try_hex!(d1) << 4) | try_hex!(d0); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:533:26 [INFO] [stderr] | [INFO] [stderr] 533 | x @ 0...0xF => x, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 542 | let byte = (try_hex!(d1) << 4) | try_hex!(d0); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: this warning originates in the macro `try_hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/lib.rs:256:7 [INFO] [stderr] | [INFO] [stderr] 256 | /// * https://osdn.jp/projects/naniya/wiki/2chtrip (Japanese) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 256 | /// * <https://osdn.jp/projects/naniya/wiki/2chtrip> (Japanese) [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `tripcode` (lib doc) generated 16 warnings (2 duplicates) (run `cargo fix --lib -p tripcode` to apply 14 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tripcode/index.html [INFO] running `Command { std: "docker" "inspect" "b2690fa328f95f3e6badd7a22fd17dcb78a4d83ec35dc8f6f784e5c51e9481ae", kill_on_drop: false }`