mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 23:12:19 +01:00
24 lines
926 B
Markdown
24 lines
926 B
Markdown
# wolfSSL Rust Wrapper
|
|
|
|
## Building the wolfssl Rust Wrapper
|
|
|
|
First, configure and build wolfssl C library.
|
|
|
|
Then build the wolfssl Rust wrapper with:
|
|
|
|
make -C wrapper/rust
|
|
|
|
Run tests with:
|
|
|
|
make -C wrapper/rust test
|
|
|
|
## Repository Directory Structure
|
|
|
|
| Repository Directory | Description |
|
|
| --- | --- |
|
|
| `/wrapper/rust` | Top level container for all Rust wrapper functionality. |
|
|
| `/wrapper/rust/wolfssl` | Top level for the `wolfssl` library crate. This crate contains high-level Rust sources that use the bindings from the `wolfssl-sys` crate. |
|
|
| `/wrapper/rust/wolfssl/src` | Source directory for `wolfssl` crate top-level modules. |
|
|
| `/wrapper/rust/wolfssl/src/wolfcrypt` | Source directory for submodules of `wolfssl::wolfcrypt` module. |
|
|
| `/wrapper/rust/wolfssl-sys` | Top level for the `wolfssl-sys` library crate. This crate contains only automatically generated bindings to the `wolfssl` C library. |
|