Organize imports (#188)
* Organize imports Use rustfmt to organize imports. Resolve #162 * remove unused imports * cargo fmt
This commit is contained in:
parent
1214cdfa1b
commit
24ff82dd3d
32 changed files with 329 additions and 276 deletions
|
|
@ -3,13 +3,11 @@ use std::collections::{BTreeMap, HashMap};
|
|||
use schemars::{JsonSchema, Schema};
|
||||
use serde::{Deserialize, Serialize, Serializer};
|
||||
|
||||
use crate::backends::plonky2::mock::mainpod::MockMainPod;
|
||||
use crate::backends::plonky2::mock::signedpod::MockSignedPod;
|
||||
use crate::frontend::containers::Dictionary;
|
||||
use crate::frontend::Statement;
|
||||
use crate::middleware::PodId;
|
||||
|
||||
use super::{MainPod, SignedPod, Value};
|
||||
use crate::{
|
||||
backends::plonky2::mock::{mainpod::MockMainPod, signedpod::MockSignedPod},
|
||||
frontend::{containers::Dictionary, MainPod, SignedPod, Statement, Value},
|
||||
middleware::PodId,
|
||||
};
|
||||
|
||||
#[derive(Serialize, Deserialize, JsonSchema)]
|
||||
#[schemars(title = "SignedPod")]
|
||||
|
|
@ -156,6 +154,7 @@ mod tests {
|
|||
use anyhow::Result;
|
||||
use schemars::generate::SchemaSettings;
|
||||
|
||||
use super::*;
|
||||
use crate::{
|
||||
backends::plonky2::mock::{mainpod::MockProver, signedpod::MockSigner},
|
||||
examples::{zu_kyc_pod_builder, zu_kyc_sign_pod_builders},
|
||||
|
|
@ -166,8 +165,6 @@ mod tests {
|
|||
middleware::{self, Params},
|
||||
};
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_value_serialization() {
|
||||
// Pairs of values and their expected serialized representations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue