Initial Rust library
This commit is contained in:
parent
08216945e5
commit
3ca39955ea
|
@ -0,0 +1,4 @@
|
|||
.*.swp
|
||||
|
||||
/target
|
||||
**/*.rs.bk
|
|
@ -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"
|
||||
|
|
@ -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"]
|
|
@ -0,0 +1,7 @@
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
assert_eq!(2 + 2, 4);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue