Init
parent
639960f11c
commit
51414451d8
|
@ -0,0 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "ablescript"
|
||||
version = "0.6.66"
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "ablescript"
|
||||
version = "0.6.66"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
|
@ -0,0 +1,2 @@
|
|||
/// AbleScript Language version
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
|
@ -0,0 +1,10 @@
|
|||
use std::io::Read;
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("[AbleScript {}]", ablescript::VERSION);
|
||||
|
||||
let mut buf = String::new();
|
||||
std::io::stdin().read_to_string(&mut buf)?;
|
||||
|
||||
Ok(())
|
||||
}
|
Loading…
Reference in New Issue