wiki pages
Signed-off-by: Kamal Tufekcic <kamal@lo.sh>
This commit is contained in:
parent
e27c30b7b0
commit
c1ee2b58ef
2 changed files with 3 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ Quick reference for the soliton v1 API. For the full cryptographic specification
|
||||||
libsoliton = { path = "../soliton" }
|
libsoliton = { path = "../soliton" }
|
||||||
|
|
||||||
# Published form (once on crates.io — use one or the other, not both):
|
# Published form (once on crates.io — use one or the other, not both):
|
||||||
# libsoliton = "0.1.0"
|
# libsoliton = "0.1.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
**Minimum toolchain: Rust 1.93 (edition 2024).** The `unsafe extern "C" {}` block syntax added in edition 2024 is required; older toolchains produce cryptic parse errors. Run `rustup update stable` to get a recent toolchain.
|
**Minimum toolchain: Rust 1.93 (edition 2024).** The `unsafe extern "C" {}` block syntax added in edition 2024 is required; older toolchains produce cryptic parse errors. Run `rustup update stable` to get a recent toolchain.
|
||||||
|
|
@ -2022,7 +2022,7 @@ pub fn aead_decrypt(key: &[u8; 32], nonce: &[u8; 24],
|
||||||
### C API
|
### C API
|
||||||
|
|
||||||
```c
|
```c
|
||||||
// Returns the library version string — the Cargo crate semver (e.g., "0.1.0"),
|
// Returns the library version string — the Cargo crate semver (e.g., "0.1.1"),
|
||||||
// not the spec revision. Static lifetime, null-terminated. Caller must NOT free.
|
// not the spec revision. Static lifetime, null-terminated. Caller must NOT free.
|
||||||
// Rust equivalent: soliton::VERSION (&str, same value).
|
// Rust equivalent: soliton::VERSION (&str, same value).
|
||||||
const char *soliton_version(void);
|
const char *soliton_version(void);
|
||||||
|
|
|
||||||
2
Zig.md
2
Zig.md
|
|
@ -24,7 +24,7 @@ Add as a Zig dependency in `build.zig.zon`:
|
||||||
```zig
|
```zig
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.soliton = .{
|
.soliton = .{
|
||||||
.url = "https://git.lo.sh/lo/libsoliton/archive/v0.1.0.tar.gz",
|
.url = "https://git.lo.sh/lo/libsoliton/archive/v0.1.1.tar.gz",
|
||||||
.hash = "...",
|
.hash = "...",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue