Add basic rust project structure

This commit is contained in:
Jez Cope 2021-05-28 10:37:39 +01:00
parent cdad513955
commit f3e1cbd193
5 changed files with 28 additions and 0 deletions

5
.gitignore vendored
View File

@ -1 +1,6 @@
.direnv
# Added by cargo
/target

5
Cargo.lock generated Normal file
View File

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

9
Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "mxadm"
version = "0.1.0"
authors = ["Jez Cope <j.cope@erambler.co.uk>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@ -2,3 +2,9 @@
[[commands]]
package = "devshell.cli"
help = "Per project developer environments"
[[commands]]
package = "cargo"
[[commands]]
package = "rustc"

3
src/main.rs Normal file
View File

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