set up base crate layout

This commit is contained in:
Cadey Ratio 2020-07-12 12:54:33 -04:00
parent 354fb8346b
commit 70103e5ca9
4 changed files with 29 additions and 0 deletions

5
.gitignore vendored
View File

@ -6,3 +6,8 @@ cw.tar
/result
.#*
#Added by cargo
/target

9
Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "xesite"
version = "0.1.0"
authors = ["Christine Dodrill <me@christine.website>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@ -11,6 +11,18 @@
"url": "https://github.com/justinwoo/easy-dhall-nix/archive/735ad924fd829c9bbee0a167e0b2bbbf91e2cad5.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"naersk": {
"branch": "master",
"description": "Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly.",
"homepage": "",
"owner": "nmattia",
"repo": "naersk",
"rev": "d5a23213d561893cebdf0d251502430334673036",
"sha256": "0ifvqv3vjg80hhgxr7b22i22gh2gxw0gm5iijd9r7y4qd7n2yrcp",
"type": "tarball",
"url": "https://github.com/nmattia/naersk/archive/d5a23213d561893cebdf0d251502430334673036.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"niv": {
"branch": "master",
"description": "Easy dependency management for Nix projects",

3
src/main.rs Normal file
View File

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