file_into_string 1.1.1

file_into_string: Rust crate of utility functions to read a file into a string, or a vector of strings, and preserving line endings.
Documentation

Build #2529979 2025-09-24 00:38:02

# rustc version rustc 1.92.0-nightly (f6092f224 2025-09-22)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/file_into_string-1.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/file_into_string-1.1.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250922-1.92.0-nightly-f6092f224\", \"--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: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b474f08c58ea6b42069aabb42c0c76bb96ac7728edb68b3a48aa56407603f06 [INFO] running `Command { std: "docker" "start" "-a" "9b474f08c58ea6b42069aabb42c0c76bb96ac7728edb68b3a48aa56407603f06", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting file_into_string v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/lib.rs:54:16 [INFO] [stderr] | [INFO] [stderr] 54 | //! * Website: https://github.com/sixarm/file-into-string-rust-crate [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] 54 | //! * Website: <https://github.com/sixarm/file-into-string-rust-crate> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `String` [INFO] [stderr] --> src/lib.rs:89:27 [INFO] [stderr] | [INFO] [stderr] 89 | /// Read a File into a Vec<String>. [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 89 | /// Read a File into a `Vec<String>`. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `file_into_string` (lib doc) generated 2 warnings (run `cargo fix --lib -p file_into_string` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/file_into_string/index.html [INFO] running `Command { std: "docker" "inspect" "9b474f08c58ea6b42069aabb42c0c76bb96ac7728edb68b3a48aa56407603f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b474f08c58ea6b42069aabb42c0c76bb96ac7728edb68b3a48aa56407603f06", kill_on_drop: false }` [INFO] [stdout] 9b474f08c58ea6b42069aabb42c0c76bb96ac7728edb68b3a48aa56407603f06