cargo init --lib, add curve25519-dalek

This commit is contained in:
Deirdre Connolly 2020-05-01 11:33:34 -04:00
commit deda610340
3 changed files with 26 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
/target
#Added by cargo
#
#already existing elements were commented out
#/target
Cargo.lock

10
Cargo.toml Normal file
View File

@ -0,0 +1,10 @@
[package]
name = "ristretto255-dh"
version = "0.1.0"
authors = ["Deirdre Connolly <deirdre@zfnd.org>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
curve25519-dalek = "2.0.0"

7
src/lib.rs Normal file
View File

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