Initial cargo package

This commit is contained in:
Denys Konovalov 2021-06-25 16:33:43 +02:00
parent e7a1c44ed6
commit be8a84b094
3 changed files with 16 additions and 0 deletions

5
.gitignore vendored

@ -8,3 +8,8 @@ Cargo.lock
# These are backup files generated by rustfmt # These are backup files generated by rustfmt
**/*.rs.bk **/*.rs.bk
# Added by cargo
/target

8
Cargo.toml Normal file

@ -0,0 +1,8 @@
[package]
name = "api"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
src/main.rs Normal file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}