re-uploading work

This commit is contained in:
2026-02-04 17:46:30 -06:00
commit 3b14c65998
1388 changed files with 381262 additions and 0 deletions

37
crates/common/src/lib.rs Normal file
View File

@@ -0,0 +1,37 @@
//! Common utilities, models, and database layer for Attune services
//!
//! This crate provides shared functionality used across all Attune services including:
//! - Database models and schema
//! - Error types
//! - Configuration
//! - Utilities
pub mod config;
pub mod crypto;
pub mod db;
pub mod error;
pub mod models;
pub mod mq;
pub mod pack_environment;
pub mod pack_registry;
pub mod repositories;
pub mod runtime_detection;
pub mod schema;
pub mod utils;
pub mod workflow;
// Re-export commonly used types
pub use error::{Error, Result};
/// Library version
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
assert!(!VERSION.is_empty());
}
}