ptero-cli 0.4.2

A text steganography CLI tool for Social Media
Documentation
Build #3017074 2026-03-15 01:29:43

# rustc version rustc 1.96.0-nightly (1d8897a4e 2026-03-13)

# docs.rs version docsrs 0.0.0 (a68728e7 2026-03-08 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ptero-cli-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ptero-cli-0.4.2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260313-1.96.0-nightly-1d8897a4e\", \"--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] 51a92afed88fb0423a308f7194ce0bf297cda67dba9ccae9e2a92f59cbe67045 [INFO] running `Command { std: "docker" "start" "-a" "51a92afed88fb0423a308f7194ce0bf297cda67dba9ccae9e2a92f59cbe67045", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting ptero-cli v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/binary.rs:179:11 [INFO] [stderr] | [INFO] [stderr] 179 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/binary.rs:197:11 [INFO] [stderr] | [INFO] [stderr] 197 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [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(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stderr] --> src/encoder.rs:120:11 [INFO] [stderr] | [INFO] [stderr] 120 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [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(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stderr] --> src/context.rs:199:11 [INFO] [stderr] | [INFO] [stderr] 199 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [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(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stderr] --> src/method/variant.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [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(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stderr] --> src/cli/writer.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [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(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: unresolved link to `crate::econder::Encoder` [INFO] [stderr] --> src/encoder.rs:14:56 [INFO] [stderr] | [INFO] [stderr] 14 | /// Trait that should be implemented by the [Encoders](crate::econder::Encoder). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `econder` in module `ptero` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ASCII_WHITESPACE` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] This method uses the trailing [ASCII_WHITESPACE] to encode bits. [INFO] [stderr] ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `ASCII_WHITESPACE` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `FULL_UNICODE_CHARACTER_SET` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] It it at most 5 bits per line with [FULL_UNICODE_CHARACTER_SET]. [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `FULL_UNICODE_CHARACTER_SET` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `UnicodeSet` [INFO] [stderr] --> src/method/trailing_unicode.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | /// It uses the [UnicodeSet] to get the character given the n-bits [INFO] [stderr] | ^^^^^^^^^^ no item named `UnicodeSet` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::trailing_whitespace::TrailingWhitespaceMethod` [INFO] [stderr] --> src/method/complex/extended_line.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | //! * [TrailingWhitespaceMethod](crate::trailing_whitespace::TrailingWhitespaceMethod). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `trailing_whitespace` in module `ptero` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/encoder.rs:16:71 [INFO] [stderr] | [INFO] [stderr] 16 | /// Concrete text fragment (e.g. line) is determined by the [Context](crate::context::Context). [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 16 - /// Concrete text fragment (e.g. line) is determined by the [Context](crate::context::Context). [INFO] [stderr] 16 + /// Concrete text fragment (e.g. line) is determined by the [Context]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/encoder.rs:99:92 [INFO] [stderr] | [INFO] [stderr] 99 | /// Represents encoding error. Concrete error if differentiated by the [EncodingErrorKind](EncodingErrorKind) [INFO] [stderr] | ----------------- ^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 99 - /// Represents encoding error. Concrete error if differentiated by the [EncodingErrorKind](EncodingErrorKind) [INFO] [stderr] 99 + /// Represents encoding error. Concrete error if differentiated by the [EncodingErrorKind] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method/random_whitespace.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | /// Implements both [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits. [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 18 - /// Implements both [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits. [INFO] [stderr] 18 + /// Implements both [Encoder] and [Decoder](crate::decoder::Decoder) traits. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method/random_whitespace.rs:18:70 [INFO] [stderr] | [INFO] [stderr] 18 | /// Implements both [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits. [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 18 - /// Implements both [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits. [INFO] [stderr] 18 + /// Implements both [Encoder](crate::encoder::Encoder) and [Decoder] traits. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method/random_whitespace.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | /// Accepts any [Context](crate::context::Context). [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 20 - /// Accepts any [Context](crate::context::Context). [INFO] [stderr] 20 + /// Accepts any [Context]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method/line_extend.rs:40:59 [INFO] [stderr] | [INFO] [stderr] 40 | /// Accepts only following contexts: [PivotByLineContext](crate::context::PivotByLineContext) for [Encoder](crate::encoder::Encoder)... [INFO] [stderr] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 40 - /// Accepts only following contexts: [PivotByLineContext](crate::context::PivotByLineContext) for [Encoder](crate::encoder::Encoder) trait and [INFO] [stderr] 40 + /// Accepts only following contexts: [PivotByLineContext] for [Encoder](crate::encoder::Encoder) trait and [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method/line_extend.rs:40:109 [INFO] [stderr] | [INFO] [stderr] 40 | ...ext::PivotByLineContext) for [Encoder](crate::encoder::Encoder) trait and [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 40 - /// Accepts only following contexts: [PivotByLineContext](crate::context::PivotByLineContext) for [Encoder](crate::encoder::Encoder) trait and [INFO] [stderr] 40 + /// Accepts only following contexts: [PivotByLineContext](crate::context::PivotByLineContext) for [Encoder] trait and [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method/trailing_unicode.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | /// Accepts any [Context](crate::context::Context). [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 35 - /// Accepts any [Context](crate::context::Context). [INFO] [stderr] 35 + /// Accepts any [Context]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | /// Combination of [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits - each method should be able to ... [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 20 - /// Combination of [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits - each method should be able to encode and decode. [INFO] [stderr] 20 + /// Combination of [Encoder] and [Decoder](crate::decoder::Decoder) traits - each method should be able to encode and decode. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/method.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | /// Combination of [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits - each method should be able to ... [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 20 - /// Combination of [Encoder](crate::encoder::Encoder) and [Decoder](crate::decoder::Decoder) traits - each method should be able to encode and decode. [INFO] [stderr] 20 + /// Combination of [Encoder](crate::encoder::Encoder) and [Decoder] traits - each method should be able to encode and decode. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/log.rs:7:48 [INFO] [stderr] | [INFO] [stderr] 7 | /// Converts verbosity number to [LevelFilter](log::LevelFilter) enum. [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 7 - /// Converts verbosity number to [LevelFilter](log::LevelFilter) enum. [INFO] [stderr] 7 + /// Converts verbosity number to [LevelFilter] enum. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ptero-cli` (lib doc) generated 22 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/ptero/index.html [INFO] running `Command { std: "docker" "inspect" "51a92afed88fb0423a308f7194ce0bf297cda67dba9ccae9e2a92f59cbe67045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a92afed88fb0423a308f7194ce0bf297cda67dba9ccae9e2a92f59cbe67045", kill_on_drop: false }` [INFO] [stdout] 51a92afed88fb0423a308f7194ce0bf297cda67dba9ccae9e2a92f59cbe67045