fastcrypto 0.1.11

Common cryptographic library used at Mysten Labs
Documentation

Build #3746902 2026-07-02 20:46:36

# rustc version rustc 1.98.0-nightly (4c9d2bfe4 2026-07-01)

# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )

# 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" "86c463767fef13a03a0280862cff44e3da1c556fca83014c517834923cadff11" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260701-1.98.0-nightly-4c9d2bfe4\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting fastcrypto v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Self::mul` [INFO] [stderr] --> src/groups/mod.rs:37:38 [INFO] [stderr] | [INFO] [stderr] 37 | /// Type of scalars used in the [Self::mul] multiplication method. [INFO] [stderr] | ^^^^^^^^^ the trait `GroupElement` has no associated item named `mul` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `fastcrypto` [INFO] [stderr] --> src/merkle.rs:311:80 [INFO] [stderr] | [INFO] [stderr] 311 | /// Merkle tree using a hash function `T` (default: [`Blake2b256`]) from the [`fastcrypto`] crate. [INFO] [stderr] | ^^^^^^^^^^ no item named `fastcrypto` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `serialize_deserialize_with_to_from_bytes` [INFO] [stderr] --> src/serde_helpers.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | /// and call [serialize_deserialize_with_to_from_bytes]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `serialize_deserialize_with_to_from_bytes` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `serialize_deserialize_with_to_from_bytes` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `serialize_deserialize_with_to_from_byte_array` [INFO] [stderr] --> src/serde_helpers.rs:52:33 [INFO] [stderr] | [INFO] [stderr] 52 | /// [ToFromByteArray] and call [serialize_deserialize_with_to_from_byte_array]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `serialize_deserialize_with_to_from_byte_array` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `serialize_deserialize_with_to_from_byte_array` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `generate_bytes_representation` [INFO] [stderr] --> src/serde_helpers.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | /// [generate_bytes_representation]). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `generate_bytes_representation` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `generate_bytes_representation` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `generate_bytes_representation` [INFO] [stderr] --> src/serde_helpers.rs:165:26 [INFO] [stderr] | [INFO] [stderr] 165 | /// - Derive by calling [generate_bytes_representation]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `generate_bytes_representation` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `generate_bytes_representation` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/bulletproofs.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | ...in https://github.com/dalek-cryptography/bulletproofs/blob/be67b6d5f5ad1c1f54d5511b52e6d645a1313d07/src/range_proof/mod.rs#L59-L76. [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] 160 | /// It follows the format used in <https://github.com/dalek-cryptography/bulletproofs/blob/be67b6d5f5ad1c1f54d5511b52e6d645a1313d07/src/range_proof/mod.rs#L59-L76.> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/encoding.rs:221:103 [INFO] [stderr] | [INFO] [stderr] 221 | ...n readable part (hrp). See spec: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 221 | /// Decodes the Bech32 string to bytes, validating the given human readable part (hrp). See spec: <https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/encoding.rs:237:105 [INFO] [stderr] | [INFO] [stderr] 237 | ...n readable part (hrp). See spec: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 237 | /// Encodes bytes into a Bech32 encoded string, with the given human readable part (hrp). See spec: <https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/groups/secp256k1.rs:267:56 [INFO] [stderr] | [INFO] [stderr] 267 | /// A Schnorr signature scheme as defined in BIP-0340 (https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 267 | /// A Schnorr signature scheme as defined in BIP-0340 (<https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki>). [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/jwt_utils.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | /// https://openid.net/specs/openid-connect-core-1_0.html [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 55 | /// <https://openid.net/specs/openid-connect-core-1_0.html> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/rsa.rs:4:81 [INFO] [stderr] | [INFO] [stderr] 4 | //! Implementation of a verifier following RSASSA-PKCS1-v1_5 using SHA-256 (see https://datatracker.ietf.org/doc/rfc3447/). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 4 | //! Implementation of a verifier following RSASSA-PKCS1-v1_5 using SHA-256 (see <https://datatracker.ietf.org/doc/rfc3447/>). [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/rsa.rs:56:65 [INFO] [stderr] | [INFO] [stderr] 56 | /// Parse signature from binary representation according to https://datatracker.ietf.org/doc/html/rfc8017#section-8.2. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 56 | /// Parse signature from binary representation according to <https://datatracker.ietf.org/doc/html/rfc8017#section-8.2.> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `i` [INFO] [stderr] --> src/twisted_elgamal.rs:601:56 [INFO] [stderr] | [INFO] [stderr] 601 | /// The table contains a mapping from Ristretto points <i>(2<sup>16</sup> x) G<i> to <i>x</i> for all <i>x</i> in the range <i>0, .... [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `i` [INFO] [stderr] --> src/twisted_elgamal.rs:601:79 [INFO] [stderr] | [INFO] [stderr] 601 | /// The table contains a mapping from Ristretto points <i>(2<sup>16</sup> x) G<i> to <i>x</i> for all <i>x</i> in the range <i>0, .... [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 601 | /// The table contains a mapping from Ristretto points <i>(2<sup>16</sup> x) `G<i>` to <i>x</i> for all <i>x</i> in the range <i>0, .., 2<sup>16</sup>-1</i>. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/vrf.rs:64:6 [INFO] [stderr] | [INFO] [stderr] 64 | /// (https://datatracker.ietf.org/doc/draft-irtf-cfrg-vrf/). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 64 | /// (<https://datatracker.ietf.org/doc/draft-irtf-cfrg-vrf/>). [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `fastcrypto` (lib doc) generated 16 warnings (run `cargo fix --lib -p fastcrypto` to apply 8 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.06s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/fastcrypto/index.html [INFO] running `Command { std: "docker" "inspect" "86c463767fef13a03a0280862cff44e3da1c556fca83014c517834923cadff11", kill_on_drop: false }`