Expand description
§tacos
tacos is build system infrastructure on top of picante.
It provides the glue between the file system and picante’s incremental query system:
- File watching: Efficient, debounced file system notifications via
notify - Content-addressed storage: Hash-based blob storage for large artifacts
- Content hashing: Fast hashing via
rapidhashfor cache busting and change detection
§Architecture
+-----------------------------------+
| your build system | <- domain-specific queries
+-----------------------------------+
| tacos | <- file watching, CAS, hashing
+-----------------------------------+
| picante | <- pure incremental queries
+-----------------------------------+§Example
ⓘ
use tacos::{FileWatcher, ContentStore, content_hash};
// Content-addressed storage for build artifacts
let store = ContentStore::open(".cache/content-store")?;
// Hash content for cache keys
let hash = content_hash(b"file contents");§See Also
§License
Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) or MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Re-exports§
pub use cas::ContentStore;pub use hash::InputHash;pub use hash::content_hash;pub use watcher::FileWatcher;