vibe-ready 0.1.1

This is the project framework for vibe coding, with multiple optional modules, aiming to quickly build vibe coding projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(not(target_arch = "wasm32"))]
pub async fn sleep(timeout: std::time::Duration) {
    tokio::time::sleep(timeout).await;
}

#[cfg(not(target_arch = "wasm32"))]
pub fn now() -> i64 {
    std::time::SystemTime::now()
        .duration_since(std::time::UNIX_EPOCH)
        .unwrap_or_default()
        .as_millis() as i64
}