docs.rs failed to build deno_crypto-0.271.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
deno_crypto-0.270.0
deno_crypto
This crate implements the Web Cryptography API.
Spec: https://www.w3.org/TR/WebCryptoAPI/
Usage Example
From javascript, include the extension's source, and assign CryptoKey,
crypto, Crypto, and SubtleCrypto to the global scope:
import from "ext:core/mod.js";
const crypto = core.;
Object.;
Object.;
Object.;
Object.;
Then from rust, provide: deno_crypto::deno_crypto::init(Option<u64>) in the
extensions field of your RuntimeOptions
Where the Option<u64> represents an optional seed for initialization.
Dependencies
- deno_webidl: Provided by the
deno_webidlcrate - deno_web: Provided by the
deno_webcrate
Surface
All WebCrypto entry points are implemented as methods on the Crypto /
SubtleCrypto / CryptoKey cppgc-wrapped classes registered under the
extension's objects = [...] list. There are no standalone ops; the
per-algorithm helpers in subtle_*.rs are pure-Rust and called directly from
those method bodies.