Get started

Download the SDK

One tarball holds everything you need to protect a Rust program or a WebAssembly module and drive it from its host.

Sigil Rust SDK 0.2.0 Download .tar.gz
File
sigil-sdk-rust-0.2.0.tar.gz
Size
29 KB
SHA-256
01d38edffdcfe0138b50fe8d66d243b6704164d2910938f1cb12a0a19dbc24a8
Released
2026-10-06
Needs
Rust 1.85+ (edition 2024); for WASM, the wasm32-unknown-unknown target
Verify and unpackconsole
$ curl -fLO https://sigil.enigmahq.sh/downloads/sigil-sdk-rust-0.2.0.tar.gz
$ curl -fsS https://sigil.enigmahq.sh/downloads/SHA256SUMS | shasum -a 256 -c --ignore-missing
sigil-sdk-rust-0.2.0.tar.gz: OK
$ tar xzf sigil-sdk-rust-0.2.0.tar.gz
Moving to GitHub releases. The SDK is published here as a tarball for now. It will move to GitHub releases (and crates on a registry) without changing the crate names or APIs. The checksums file at /downloads/SHA256SUMS stays authoritative for every version published on this site.

What's inside

PathWhat
lease/sigil-lease: the verifier. no_std + alloc, #![forbid(unsafe_code)]. Compile it into your module or program. Feature std adds clock helpers for native hosts.
client/sigil-client: activation, lease cache, renewal and deactivation for native Rust hosts (HTTPS via ureq + rustls).
cli/sigil-verify: verify a lease from the command line, for support.
examples/licensed-app/The quickstart's native program. Replace its sigil-keys.json with your application's.
examples/wasm-module/A no_std WASM module with no imports, gated by a Gate, with a JS loader and a build script that checks the binary.
js/@sigil/sdk: the JavaScript host SDK for extensions and Node (activation, chrome.storage/file cache, renewal, unlock()).
README.md, NOTICEQuick reference and licensing terms.

Use it from your project

Reference the crates by path from your Cargo.toml:

Cargo.tomltoml
[dependencies]
sigil-lease = { path = "../sigil-sdk-rust-0.2.0/lease" }                     # WASM modules
sigil-lease = { path = "../sigil-sdk-rust-0.2.0/lease", features = ["std"] }  # native programs
sigil-client = { path = "../sigil-sdk-rust-0.2.0/client" }                   # native programs

Pick one of the two sigil-lease lines. For a JavaScript host, copy js/ into your project, or install it with npm install ./sigil-sdk-rust-0.2.0/js.

Versions

VersionChanges
0.2.0The verifier is Rust only (the Go SDK is retired). no_std, runs in modules with no imports: the host passes now and the platform. Adds sigil-client for native hosts. Stable numeric error codes.

Lease protocol v1 is unchanged, so leases issued for earlier builds verify with this one.