| Crates.io | baqup-schema |
| lib.rs | baqup-schema |
| version | 0.0.1 |
| created_at | 2025-12-07 14:35:19.049126+00 |
| updated_at | 2025-12-07 14:35:19.049126+00 |
| description | JSON Schema validation and environment variable loading for baqup agent configuration |
| homepage | https://github.com/baqupio/baqup |
| repository | https://github.com/baqupio/baqup-schema-rs |
| max_upload_size | |
| id | 1971697 |
| size | 46,489 |
JSON Schema validation and environment variable loading for baqup agent configuration.
⚠️ This is a placeholder crate. Full implementation coming soon.
baqup is a container-native backup orchestration system. It uses a controller-agent architecture where:
This crate provides schema validation for agent configuration, used by both:
path, hostname, etc.)[dependencies]
baqup-schema = "0.0.1"
use baqup_schema::{validate, load_from_env};
// Load and validate from environment variables
let config = load_from_env("agent-schema.json")?;
// Or validate an existing value
let result = validate(&schema, &config)?;
if !result.valid {
for error in result.errors.unwrap() {
println!("{}: {}", error.path, error.message);
}
}
| Crate | Description |
|---|---|
baqup-schema |
Schema validation (this crate) |
baqup-agent |
Agent SDK for Rust |
Fair Source License - see LICENSE for details.