synapse 1.1.0

Neural Communication Network with Federated Identity and Blockchain Trust
Documentation
//! Simple Working Demo
//! 
//! This example demonstrates the actual working Synapse API structure

use synapse::Config;
use anyhow::Result;
use tracing::info;

#[tokio::main]
async fn main() -> Result<()> {
    // Initialize logging
    tracing_subscriber::fmt()
        .with_max_level(tracing::Level::INFO)
        .init();

    info!("🚀 Starting Simple Synapse Demo");

    // Create a test configuration
    let config = Config::for_testing();
    
    info!("✅ Configuration created:");
    info!("   Entity: {} ({})", config.entity.local_name, config.entity.entity_type);
    info!("   Email: {}", config.email.smtp.username);
    info!("   Router: {} max connections", config.router.max_connections);
    
    // Show available capabilities
    info!("🔧 Entity capabilities:");
    for capability in &config.entity.capabilities {
        info!("   • {}", capability);
    }
    
    info!("🎉 Simple Synapse Demo completed successfully!");
    info!("� This shows the basic configuration structure");
    info!("   The actual working components would be initialized here");
    
    Ok(())
}