Initial Rust setup

This commit is contained in:
Matthias Schiffer 2023-01-24 18:52:44 +01:00
parent 4b83f6376f
commit 40105aaccd
5 changed files with 21 additions and 2 deletions

3
.gitignore vendored
View file

@ -2,5 +2,4 @@
/viewer/data
/resource/data
/resource/colors.json
.idea/
cmake-build-debug/
/target

7
Cargo.lock generated Normal file
View file

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "minedmap"
version = "0.1.0"

9
Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[package]
name = "minedmap"
version = "0.1.0"
edition = "2021"
license = "BSD-2-Clause"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

1
rustfmt.toml Normal file
View file

@ -0,0 +1 @@
hard_tabs = true

3
src/main.rs Normal file
View file

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