Skip to content

Rust SDK Overview

The Shield360 Rust SDK sets up OpenTelemetry tracer and meter providers, sends application logs from log and tracing, evaluates feature flags locally, and adds runtime application self-protection (RASP) with a tower layer and checked sink wrappers. It reads the same SHIELD360_* and OTEL_* environment variables as the other SDKs.

The minimum supported Rust version is 1.75.

FeatureDefaultWhat it adds
otelonTracer and meter providers over OTLP/HTTP
remoteonThe signed RASP config client and the event reporter
tracingoffA tracing-subscriber layer that sends events as application logs
tokiooffThe RASP context follows a request through every .await
toweroffrasp::tower::RaspLayer for axum, tonic and hyper
reqwestoffA reqwest client that runs the outbound and SSRF checks