mexprp 0.3.1

A math expression parsing and evaluation library
Documentation

Build #3399533 2026-05-27 09:58:37

# rustc version rustc 1.98.0-nightly (d1fc603d1 2026-05-26)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# 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" "911c0ad9b348a93177e82273e8973aaa55468cc3f540e235afe0d40dec85d3d3" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260526-1.98.0-nightly-d1fc603d1\", \"--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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | #![cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `rug` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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 value: `cargo-clippy` [INFO] [stderr] --> src/term.rs:233:12 [INFO] [stderr] | [INFO] [stderr] 233 | #[cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `rug` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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: struct `Ceil` is never constructed [INFO] [stderr] --> src/context.rs:435:13 [INFO] [stderr] | [INFO] [stderr] 435 | pub struct Ceil; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mexprp` (lib) generated 3 warnings [INFO] [stderr] Scraping mexprp v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting mexprp v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: public documentation for `mexprp` links to private item `context` [INFO] [stderr] --> src/lib.rs:115:90 [INFO] [stderr] | [INFO] [stderr] 115 | //! the `sqrt()` function. More info can be found in the API docs (check the [`context`](context) module). [INFO] [stderr] | ^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `::func::Func` [INFO] [stderr] --> src/context.rs:34:70 [INFO] [stderr] | [INFO] [stderr] 34 | /// A custom function is anything that implements the [`func::Func`](::func::Func) trait. There's a [INFO] [stderr] | ^^^^^^^^^^^^ no item named `func` in scope [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:22:91 [INFO] [stderr] | [INFO] [stderr] 22 | //! the default `Context`. The type parameter can be anything that implements the [`Num`](num::Num) [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] 22 - //! the default `Context`. The type parameter can be anything that implements the [`Num`](num::Num) [INFO] [stderr] 22 + //! the default `Context`. The type parameter can be anything that implements the [`Num`] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:57:56 [INFO] [stderr] | [INFO] [stderr] 57 | //! Evaluating an expression will return an [`Answer`](answer::Answer) enum. An answer represents either [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] 57 - //! Evaluating an expression will return an [`Answer`](answer::Answer) enum. An answer represents either [INFO] [stderr] 57 + //! Evaluating an expression will return an [`Answer`] enum. An answer represents either [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:65:87 [INFO] [stderr] | [INFO] [stderr] 65 | //! MEXPRP supports evaluating expressions with different precisions with the [`Num`](num::Num) trait. [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] 65 - //! MEXPRP supports evaluating expressions with different precisions with the [`Num`](num::Num) trait. [INFO] [stderr] 65 + //! MEXPRP supports evaluating expressions with different precisions with the [`Num`] trait. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:83:71 [INFO] [stderr] | [INFO] [stderr] 83 | //! For more info on the types, see the documentation for the [`num`](num) module. [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] 83 - //! For more info on the types, see the documentation for the [`num`](num) module. [INFO] [stderr] 83 + //! For more info on the types, see the documentation for the [`num`] module. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:110:63 [INFO] [stderr] | [INFO] [stderr] 110 | //! using `Term::eval_ctx`. For more info see the [`Context`](context::Context) struct. [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] 110 - //! using `Term::eval_ctx`. For more info see the [`Context`](context::Context) struct. [INFO] [stderr] 110 + //! using `Term::eval_ctx`. For more info see the [`Context`] struct. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:115:90 [INFO] [stderr] | [INFO] [stderr] 115 | //! the `sqrt()` function. More info can be found in the API docs (check the [`context`](context) module). [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] 115 - //! the `sqrt()` function. More info can be found in the API docs (check the [`context`](context) module). [INFO] [stderr] 115 + //! the `sqrt()` function. More info can be found in the API docs (check the [`context`] module). [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mexprp` (lib doc) generated 10 warnings (2 duplicates) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/mexprp/index.html [INFO] running `Command { std: "docker" "inspect" "911c0ad9b348a93177e82273e8973aaa55468cc3f540e235afe0d40dec85d3d3", kill_on_drop: false }`