1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//! # Minifly
//!
//! Local Fly.io development simulator with incredible developer experience.
//!
//! Minifly provides a complete local development environment that simulates the Fly.io platform,
//! allowing you to develop, test, and debug your applications with the same APIs and behavior
//! you'll see in production.
//!
//! ## Features
//!
//! - **Complete Fly.io API Compatibility** - Full Machines API with Docker integration
//! - **LiteFS Integration** - Distributed SQLite with local replication testing
//! - **Incredible Developer Experience** - Hot reloading, watch mode, structured logging
//! - **Multi-region Simulation** - Test region-specific behavior locally
//! - **Real-time Monitoring** - Comprehensive status dashboards and logging
//! - **Docker Management** - Automatic container lifecycle management
//!
//! ## Quick Start
//!
//! ```bash
//! # Install minifly
//! cargo install minifly
//!
//! # Initialize and start
//! minifly init
//! minifly serve
//!
//! # Deploy your first app
//! minifly deploy
//! ```
//!
//! ## Examples
//!
//! ### Basic Usage
//!
//! ```rust,no_run
//! use minifly::{Config, ApiClient};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Load configuration
//! let config = Config::load()?;
//!
//! // Create API client
//! let client = ApiClient::new(&config)?;
//!
//! // Create an application
//! client.create_app("my-app").await?;
//!
//! // Deploy a machine
//! let machine = client.create_machine("my-app", "nginx:latest", None, None).await?;
//! println!("Created machine: {}", machine.id);
//!
//! Ok(())
//! }
//! ```
pub use Config;
pub use ApiClient;
pub use *;