//! Compose hash calculation module.
//!
//! Provides SHA256 hashing of AppCompose configurations.
use Value;
use ;
/// Calculate SHA256 hash of app compose configuration.
///
/// # Arguments
///
/// * `app_compose` - The app compose configuration as a JSON Value
///
/// # Returns
///
/// SHA256 hash as a lowercase hex string, or an error if serialization fails.
///
/// # Example
///
/// ```
/// use serde_json::json;
/// use atlas_rs::dstack::compose_hash::get_compose_hash;
///
/// let compose = json!({
/// "docker_compose_file": "version: '3'\nservices:\n app:\n image: myapp",
/// "runner": "docker-compose"
/// });
///
/// let hash = get_compose_hash(&compose).unwrap();
/// println!("Compose hash: {}", hash);
/// ```