when 0.1.4

'When' parses natural language date/time and produces computer friendly output structures
Documentation

Build #3706877 2026-06-28 07:44:36

# rustc version rustc 1.98.0-nightly (13f1859f2 2026-06-27)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# 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" "13f6b204275d079858922c67f61fd64801c7cd3f2e32311022f58c7c120b362e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260627-1.98.0-nightly-13f1859f2\", \"--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: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: `when` (manifest) generated 1 warning [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting when v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/rules/combinators.rs:178:1 [INFO] [stderr] | [INFO] [stderr] 178 | /// Trim spaces, special symbols and commas until any non-whitespace character appears [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/rules/combinators.rs:187:1 [INFO] [stderr] | [INFO] [stderr] 187 | / /// Ignores whitespaces using "trim" and then consumes alphabetical characters in a string until [INFO] [stderr] 188 | | /// any non alpha-numeric character appears or the string has been exhausted: [INFO] [stderr] 189 | | /// [INFO] [stderr] 190 | | /// " , abracadabra " -> "abracadabra" [INFO] [stderr] | |_---------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/rules/combinators.rs:195:1 [INFO] [stderr] | [INFO] [stderr] 195 | / /// Consumes all spaces before a word, the word itself and all spaces after the word and returns [INFO] [stderr] 196 | | /// total number of consumed characters: [INFO] [stderr] 197 | | /// [INFO] [stderr] 198 | | /// " , abracadabra " -> 17 [INFO] [stderr] | |_----------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/rules/combinators.rs:206:1 [INFO] [stderr] | [INFO] [stderr] 206 | / /// Ignores whitespaces using "trim" and then consumes digits in a string until [INFO] [stderr] 207 | | /// any non digit character appears or the string has been exhausted, and in case of success [INFO] [stderr] 208 | | /// converts the number from the string representation into i32: [INFO] [stderr] 209 | | /// [INFO] [stderr] 210 | | /// " , -321 " -> -321 [INFO] [stderr] | |_-----------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/lib.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | //! This library is inspired by https://github.com/olebedev/when [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] 3 | //! This library is inspired by <https://github.com/olebedev/when> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `when` (lib doc) generated 5 warnings (run `cargo fix --lib -p when` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/when/index.html [INFO] running `Command { std: "docker" "inspect" "13f6b204275d079858922c67f61fd64801c7cd3f2e32311022f58c7c120b362e", kill_on_drop: false }`