# 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.
```rust
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>(())
```