v0.3.0 #2

Merged
phoenix merged 24 commits from v0.3.0 into main 2026-06-27 17:37:22 -04:00
3 changed files with 1919 additions and 2 deletions
Showing only changes of commit af2cb3efdc - Show all commits
Generated
+1903
View File
File diff suppressed because it is too large Load Diff
+7
View File
@@ -5,3 +5,10 @@ rust-version = "1.96"
edition = "2024"
[dependencies]
tokio = { version = "1.52.3", features = ["full"] }
futures = { version = "0.3.32" }
reqwest = { version = "0.13.4", features = ["json", "stream", "multipart"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.150" }
[dev-dependencies]
+9 -2
View File
@@ -1,3 +1,10 @@
fn main() {
println!("Hello, world!");
// TODO: Move this somewhere else
pub const SECONDS_TO_SLEEP: u64 = 5;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
loop {
println!("Do some work");
tokio::time::sleep(tokio::time::Duration::from_secs(SECONDS_TO_SLEEP)).await;
}
}