token-string 0.8.4

Short (up to 65,535 bytes) immutable strings to e.g. parse tokens, implemented in Rust. These are sometimes called 'German Strings', because Germans have written the paper mentioning them.
Documentation

Build #3519990 2026-06-08 21:55:57

# rustc version rustc 1.98.0-nightly (f20a92ec0 2026-06-07)

# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )

# 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" "65b5a5bbc2056572fd9bb2222276b17bb34123a3462cb719985c46be50d7bd5c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "pattern" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260607-1.98.0-nightly-f20a92ec0\", \"--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\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: `token-string` (manifest) generated 1 warning [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: example [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting token-string v0.8.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `here` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] Detailed documentation is available [HERE](here). [INFO] [stderr] ^^^^ [INFO] [stderr] = note: no item named `here` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `pattern` [INFO] [stderr] --> src/string.rs:1005:12 [INFO] [stderr] | [INFO] [stderr] 1005 | #[doc(cfg(pattern))] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "pattern"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, `kani`, and `test` and 32 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pattern)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pattern)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: requested on the command line with `-W unexpected-cfgs` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `pattern` [INFO] [stderr] --> src/string.rs:1020:12 [INFO] [stderr] | [INFO] [stderr] 1020 | #[doc(cfg(pattern))] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "pattern"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pattern)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pattern)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `pattern` [INFO] [stderr] --> src/string.rs:1040:12 [INFO] [stderr] | [INFO] [stderr] 1040 | #[doc(cfg(pattern))] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "pattern"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pattern)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pattern)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `token-string` (lib doc) generated 4 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/token_string/index.html [INFO] running `Command { std: "docker" "inspect" "65b5a5bbc2056572fd9bb2222276b17bb34123a3462cb719985c46be50d7bd5c", kill_on_drop: false }`