2 unstable releases
| new 0.2.0 | Jan 30, 2026 |
|---|---|
| 0.1.0 | Jan 29, 2026 |
#1466 in Cryptography
Used in 4 crates
12KB
205 lines
FireCloud Core - Common types and traits
This crate provides the foundational types used across all FireCloud components.
firecloud-core
Core types and traits for the FireCloud distributed storage system.
Overview
This crate provides the foundational types used across all FireCloud components:
- File handling:
File,FileMetadata,FileManifest - Chunking:
Chunk,ChunkHash,ChunkMetadata - Node identification: Peer management types
- Error handling: Common error types
Usage
use firecloud_core::{Chunk, ChunkHash, File};
// Create a chunk
let chunk = Chunk::new(data, CompressionType::Zstd);
let hash = chunk.hash();
Features
- Serialization with
serde - BLAKE3 hashing for content addressing
- Compression type definitions
- Time-based metadata with
chrono
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~2.8–4MB
~82K SLoC