Initial Rust library

This commit is contained in:
Jack Grigg 2019-05-06 09:46:00 -04:00
parent 08216945e5
commit 3ca39955ea
4 changed files with 27 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.*.swp
/target
**/*.rs.bk

6
Cargo.lock generated Normal file
View File

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

10
Cargo.toml Normal file
View File

@ -0,0 +1,10 @@
[package]
name = "libzcashlc"
version = "0.0.1"
authors = ["Jack Grigg <jack@z.cash>"]
edition = "2018"
[lib]
name = "zcashlc"
path = "rust/src/lib.rs"
crate-type = ["staticlib"]

7
rust/src/lib.rs Normal file
View File

@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}