https://github.com/mingderwang/hello_world_rust
https://github.com/mingderwang/hello_world_rust
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mingderwang/hello_world_rust
- Owner: mingderwang
- Created: 2024-12-01T02:38:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T02:42:12.000Z (over 1 year ago)
- Last Synced: 2025-02-10T08:49:33.394Z (over 1 year ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a simple template for rust
```
➜ hello_world_rust git:(main) cargo test
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
Running unittests src/main.rs (target/debug/deps/hello_world_rust-0248ba7bde07160e)
running 2 tests
test tests::test_greet ... ok
test tests::test_greet_empty_name ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
➜ hello_world_rust git:(main) cargo run
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/hello_world_rust`
Hello, Rustacean!
```