add helloworld-rs
This commit is contained in:
commit
ceffdfb561
2
helloworld-rs/.gitignore
vendored
Normal file
2
helloworld-rs/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
target/
|
||||||
|
|
7
helloworld-rs/Cargo.lock
generated
Normal file
7
helloworld-rs/Cargo.lock
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 3
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "helloworld-rs"
|
||||||
|
version = "0.1.0"
|
6
helloworld-rs/Cargo.toml
Normal file
6
helloworld-rs/Cargo.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "helloworld-rs"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
11
helloworld-rs/README.md
Normal file
11
helloworld-rs/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
# helloworld-rs
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo run
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo build --release
|
||||||
|
./target/release/helloworld-rs
|
||||||
|
``´
|
3
helloworld-rs/src/main.rs
Normal file
3
helloworld-rs/src/main.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user