Fill out Cargo.tomls

Updated missing fields/sections, even if some won't be used, to 
standardize.

Also made FROST tests feature-gated.
This commit is contained in:
Luke Parker
2022-10-15 23:46:22 -04:00
parent 65664dafa4
commit 19488cf446
21 changed files with 79 additions and 28 deletions

View File

@@ -35,7 +35,7 @@ pub struct Vectors {
#[cfg(test)]
impl From<serde_json::Value> for Vectors {
fn from(value: serde_json::Value) -> Vectors {
let to_str = |value: &serde_json::Value| dbg!(value).as_str().unwrap().to_string();
let to_str = |value: &serde_json::Value| value.as_str().unwrap().to_string();
Vectors {
threshold: u16::from_str(value["config"]["NUM_PARTICIPANTS"].as_str().unwrap()).unwrap(),