docs.rs failed to build hubro-sdk-1.0.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
hubro-sdk-0.9.3
The Hubro SDK is a powerful Rust-based development kit designed for building high-performance plugins for the Hubro Platform.
Whether you're building server-side microservices or mobile-first data collection agents, this SDK provides the core infrastructure, security, and data standards compliance (HL7 FHIR) you need.
🚀 Key Features
🖥️ Server Side (feature = "server")
Optimized for Fermyon Spin and WebAssembly microservices.
- HL7 FHIR Integration: Seamlessly handle medical data standards using
fhirbolt. - Plugin Infrastructure: Built-in metadata, registration, and standard endpoints (
/info,/authorize,/data). - Signal Handling: Efficient processing of platform events and signals.
- Security: Robust JWT-based authentication and secure data handling.
📱 Mobile Side (feature = "mobile")
Designed for on-device edge processing and federated learning.
- Platform Interfaces: Native-like interaction with mobile platform routines.
- Record Management: Securely manage health and user records on-device.
- Advanced ML: Integrated support for Federated Learning and distributed processing via
burnandlinfa. - Privacy-Preserving Tech: Experimental support for Post-Quantum Cryptography (ML-KEM/ML-DSA).
🛠️ Installation
Add this to your Cargo.toml:
[]
= { = "1.0.1", = ["server"] } # Or "mobile"
🏗️ Development & Build
Target
The SDK primarily targets WebAssembly (WASI).
Standard Build (WASIp1)
# Clean release build
WASIp2 Build (Mobile/Advanced)
⚡ Optimization
To minimize binary size for production, we recommend using wasm-opt:
🧰 Technology Stack
- Runtime: WebAssembly (WASI) / Fermyon Spin
- Data Standard: HL7 FHIR (R4B)
- Serialization:
serde/serde_json/polars - Cryptography:
jwt-compact,chacha20poly1305,ml-kem,tfhe - Machine Learning:
burn,linfa,ndarray
📁 Project Structure
src/plugin.rs: Core plugin infrastructure and deployment logic.src/fhir.rs: HL7 FHIR standard implementation.src/signals.rs: Platform signal and event handling.src/mobile.rs: Mobile-specific platform routines.src/toolbox.rs: Utility logic (e.g., OTP interception).hubro-sdk-macros: Procedural macros for easier plugin development.wit/: Interface definitions for WebAssembly.
📖 Documentation & Resources
- Official Guides: Extending Hubro
- Warg Registry: hubro-platform:hubro-sdk
- Architecture Details: See AGENTS.md for a deep dive into the SDK's modules.
🏗️ Maintainers
Publishing
# Standard crate publish
# WASIp2 / Warg publish
Built with ❤️ by the Hubro Team.