settlem 0.1.0

Typed Rust client foundations for integrating with Settlem settlement infrastructure.
Documentation
  • Coverage
  • 100%
    29 out of 29 items documented0 out of 14 items with examples
  • Size
  • Source code size: 12.4 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 337.1 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Settlem

Settlem for Rust

settlem is the public Rust client foundation for applications that integrate with Settlem settlement infrastructure on Solana.

This crate intentionally contains only public client contracts: typed IDs, prepared-transaction responses, confirmation requests and deterministic API paths. It does not contain the Settlem on-chain source, hosted backend, worker logic, private keys, deployment tooling, database code or Owner Console.

The first release establishes the stable crate name and public type boundary. Network transport and direct Solana/CPI helpers will be added only after their public interfaces pass the same integration and compatibility checks as the TypeScript SDK.

use settlem::{ActionId, SettlemClient};

let client = SettlemClient::new("https://api.settlem.io")?;
let action = ActionId::new("action_01")?;
assert_eq!(
    client.action_confirmation_url(&action),
    "https://api.settlem.io/api/v1/actions/action_01/confirm"
);
# Ok::<(), settlem::ClientConfigurationError>(())