docs.rs failed to build wolftpm-0.1.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.
wolftpm
Safe Rust bindings to wolfTPM, a portable TPM 2.0 library from wolfSSL.
Status: build infrastructure stub — the high-level Rust API has not yet been implemented. The
wolftpm-srcandwolftpm-syscrates compile wolfTPM from source and generate raw FFI bindings; this crate will wrap them safely.
Crate stack
| Crate | Role |
|---|---|
wolftpm-src |
Compiles wolfTPM C source via the cc crate |
wolftpm-sys |
bindgen-generated raw FFI bindings |
wolftpm |
Safe high-level Rust API (this crate) |
Build requirements
- wolfTPM source (via
WOLFTPM_SRCenv var or bundled submodule) - wolfSSL headers (via
WOLFSSL_DIRorWOLFSSL_INCLUDE_DIR)
See wolftpm-src/README.md for details.
Features
| Feature | Description |
|---|---|
linux-dev |
Linux /dev/tpm0 kernel driver transport |
swtpm |
Software TPM socket transport (swtpm / IBM TPM2 simulator) |
License
GPL-3.0-only OR LicenseRef-wolfSSL-commercial