Browse Source

Prepare for multiple binaries

Ian Goldberg 10 months ago
parent
commit
1a53a0a8d4
2 changed files with 5 additions and 4 deletions
  1. 1 4
      src/bin/shine.rs
  2. 4 0
      src/lib.rs

+ 1 - 4
src/main.rs → src/bin/shine.rs

@@ -2,10 +2,7 @@ use curve25519_dalek::constants as dalek_constants;
 use rand::RngCore;
 use std::env;
 use std::time::Instant;
-
-pub mod arctic;
-mod lagrange;
-pub mod shine;
+use arctic::shine;
 
 fn main() {
     let args: Vec<String> = env::args().collect();

+ 4 - 0
src/lib.rs

@@ -0,0 +1,4 @@
+pub mod arctic;
+mod lagrange;
+pub mod shine;
+