Install the SDK
Add Tetrapus telemetry ingest to your own Rust application. Published to crates.io.
Add the dependency
Bash
cargo add nerve-sdk
# (also pulls nerve-core, datamax-domain, datamax-config as transitive deps) Pin a version
TOML
[dependencies]
nerve-sdk = "0.4"
nerve-core = "0.4"
datamax-domain = "0.4"
datamax-config = "0.4" Minimal example
Rust
use nerve_sdk::{NerveClient, ClientConfig};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let config = ClientConfig::builder()
.server_addr("https://datamax.example.com:4433")
.device_id("sensor-001")
.build()?;
let mut client = NerveClient::connect(config).await?;
client.send_telemetry("temperature", 21.4).await?;
Ok(())
} Crates published from this workspace
The publish set is intentionally small — only crates with stable, public API surface. Internal crates remain in the monorepo only.
nerve-sdk— high-frequency QUIC client, store-and-forward, edge primitivesnerve-core— retry, backoff, health monitoring, rate limitingdatamax-domain— shared domain types (entity state, IDs, rules)datamax-config— YAML-serializable config types
More
See the SDK reference for full API documentation, transport options, and edge-deployment patterns.
Questions?
Reach out for help with integration, deployment, or custom domain codecs.