feat: add rust-script
This commit is contained in:
14
external/rust-script/tests/data/script-async-main.rs
vendored
Normal file
14
external/rust-script/tests/data/script-async-main.rs
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
//! This is merged into a default manifest in order to form the full package manifest:
|
||||
//!
|
||||
//! ```cargo
|
||||
//! [dependencies]
|
||||
//! boolinator = "=0.1.0"
|
||||
//! tokio = { version = "1", features = ["full"] }
|
||||
//! ```
|
||||
use boolinator::Boolinator;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
println!("--output--");
|
||||
println!("{:?}", true.as_some(1));
|
||||
}
|
||||
Reference in New Issue
Block a user