More basic infrastructure.
This commit is contained in:
21
Cargo.toml
Normal file
21
Cargo.toml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[package]
|
||||||
|
name = "simple_rsa"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Adam Wick <awick@uhsure.com>"]
|
||||||
|
description = "A simple crypto library for Rust."
|
||||||
|
categories = ["cryptography"]
|
||||||
|
keywords = ["crypto","cryptography"]
|
||||||
|
license-file = "LICENSE"
|
||||||
|
repository = "https://github.com/acw/simple_crypto"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
rand = "^0.3"
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
quickcheck = "^0.4.1"
|
||||||
|
|
||||||
|
[profile.test]
|
||||||
|
opt-level = 2
|
||||||
|
debug = true
|
||||||
|
debug-assertions = true
|
||||||
|
|
||||||
13
LICENSE
Normal file
13
LICENSE
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Copyright (c) 2018 Adam Wick
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any purpose
|
||||||
|
with or without fee is hereby granted, provided that the above copyright notice
|
||||||
|
and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
||||||
|
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||||
|
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
||||||
|
THIS SOFTWARE.
|
||||||
9
src/lib.rs
Normal file
9
src/lib.rs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod test {
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn testing_works() {
|
||||||
|
assert!(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user