mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
zk/debug: properly structure feature imports
This commit is contained in:
@@ -16,22 +16,25 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
use darkfi_sdk::{
|
||||
crypto::{pasta_prelude::*, util::FieldElemAsStr, MerkleNode},
|
||||
pasta::pallas,
|
||||
};
|
||||
use log::error;
|
||||
use std::io::Read;
|
||||
|
||||
#[cfg(feature = "tinyjson")]
|
||||
use {
|
||||
std::{collections::HashMap, fs::File, io::Write, path::Path},
|
||||
super::halo2::Value,
|
||||
darkfi_sdk::crypto::{pasta_prelude::*, util::FieldElemAsStr, MerkleNode},
|
||||
std::{
|
||||
collections::HashMap,
|
||||
fs::File,
|
||||
io::{Read, Write},
|
||||
path::Path,
|
||||
},
|
||||
tinyjson::JsonValue::{
|
||||
self, Array as JsonArray, Number as JsonNum, Object as JsonObj, String as JsonStr,
|
||||
},
|
||||
};
|
||||
|
||||
use super::{halo2::Value, Witness, ZkCircuit};
|
||||
use darkfi_sdk::pasta::pallas;
|
||||
use log::error;
|
||||
|
||||
use super::{Witness, ZkCircuit};
|
||||
use crate::{zkas, Error, Result};
|
||||
|
||||
#[cfg(feature = "tinyjson")]
|
||||
|
||||
Reference in New Issue
Block a user