| Crates.io | armature-azure |
| lib.rs | armature-azure |
| version | 0.1.0 |
| created_at | 2025-12-26 18:46:08.752046+00 |
| updated_at | 2025-12-26 18:46:08.752046+00 |
| description | Microsoft Azure services integration for Armature - dynamically loadable and DI-ready |
| homepage | https://pegasusheavy.github.io/armature |
| repository | https://github.com/pegasusheavy/armature |
| max_upload_size | |
| id | 2006075 |
| size | 90,534 |
Microsoft Azure services integration for the Armature framework.
[dependencies]
armature-azure = "0.1"
use armature_azure::{BlobClient, CosmosClient, ServiceBusClient};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Blob Storage
let blob = BlobClient::new("connection_string").await?;
blob.upload("container", "blob", bytes).await?;
// Cosmos DB
let cosmos = CosmosClient::new("endpoint", "key").await?;
cosmos.create_item("database", "container", item).await?;
// Service Bus
let bus = ServiceBusClient::new("connection_string").await?;
bus.send("queue", message).await?;
Ok(())
}
Supports:
MIT OR Apache-2.0