mirror of
https://github.com/logos-blockchain/logos-blockchain-circuits.git
synced 2026-05-19 07:49:30 +00:00
Rename utils crate to common.
This commit is contained in:
parent
9af51ddf7e
commit
2a135f19cd
22
rust/Cargo.lock
generated
22
rust/Cargo.lock
generated
@ -151,13 +151,20 @@ version = "0.4.29"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "logos-blockchain-circuits-common"
|
||||||
|
version = "0.4.2"
|
||||||
|
dependencies = [
|
||||||
|
"logos-blockchain-circuits-types",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "logos-blockchain-circuits-poc-sys"
|
name = "logos-blockchain-circuits-poc-sys"
|
||||||
version = "0.4.2"
|
version = "0.4.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flate2",
|
"flate2",
|
||||||
|
"logos-blockchain-circuits-common",
|
||||||
"logos-blockchain-circuits-types",
|
"logos-blockchain-circuits-types",
|
||||||
"logos-blockchain-circuits-utils",
|
|
||||||
"tar",
|
"tar",
|
||||||
"ureq",
|
"ureq",
|
||||||
]
|
]
|
||||||
@ -167,8 +174,8 @@ name = "logos-blockchain-circuits-pol-sys"
|
|||||||
version = "0.4.2"
|
version = "0.4.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flate2",
|
"flate2",
|
||||||
|
"logos-blockchain-circuits-common",
|
||||||
"logos-blockchain-circuits-types",
|
"logos-blockchain-circuits-types",
|
||||||
"logos-blockchain-circuits-utils",
|
|
||||||
"tar",
|
"tar",
|
||||||
"ureq",
|
"ureq",
|
||||||
]
|
]
|
||||||
@ -178,8 +185,8 @@ name = "logos-blockchain-circuits-poq-sys"
|
|||||||
version = "0.4.2"
|
version = "0.4.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flate2",
|
"flate2",
|
||||||
|
"logos-blockchain-circuits-common",
|
||||||
"logos-blockchain-circuits-types",
|
"logos-blockchain-circuits-types",
|
||||||
"logos-blockchain-circuits-utils",
|
|
||||||
"tar",
|
"tar",
|
||||||
"ureq",
|
"ureq",
|
||||||
]
|
]
|
||||||
@ -189,8 +196,8 @@ name = "logos-blockchain-circuits-signature-sys"
|
|||||||
version = "0.4.2"
|
version = "0.4.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flate2",
|
"flate2",
|
||||||
|
"logos-blockchain-circuits-common",
|
||||||
"logos-blockchain-circuits-types",
|
"logos-blockchain-circuits-types",
|
||||||
"logos-blockchain-circuits-utils",
|
|
||||||
"tar",
|
"tar",
|
||||||
"ureq",
|
"ureq",
|
||||||
]
|
]
|
||||||
@ -202,13 +209,6 @@ dependencies = [
|
|||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "logos-blockchain-circuits-utils"
|
|
||||||
version = "0.4.2"
|
|
||||||
dependencies = [
|
|
||||||
"logos-blockchain-circuits-types",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "miniz_oxide"
|
name = "miniz_oxide"
|
||||||
version = "0.8.9"
|
version = "0.8.9"
|
||||||
|
|||||||
@ -15,7 +15,7 @@ members = [
|
|||||||
"logos-blockchain-circuits-poq-sys",
|
"logos-blockchain-circuits-poq-sys",
|
||||||
"logos-blockchain-circuits-signature-sys",
|
"logos-blockchain-circuits-signature-sys",
|
||||||
"logos-blockchain-circuits-types",
|
"logos-blockchain-circuits-types",
|
||||||
"logos-blockchain-circuits-utils"
|
"logos-blockchain-circuits-common"
|
||||||
]
|
]
|
||||||
resolver = "3"
|
resolver = "3"
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ lbc-pol-sys = { default-features = false, package = "logos-blockchain-circ
|
|||||||
lbc-poq-sys = { default-features = false, package = "logos-blockchain-circuits-poq-sys", path = "./logos-blockchain-circuits-poq-sys" }
|
lbc-poq-sys = { default-features = false, package = "logos-blockchain-circuits-poq-sys", path = "./logos-blockchain-circuits-poq-sys" }
|
||||||
lbc-signature-sys = { default-features = false, package = "logos-blockchain-circuits-signature-sys", path = "./logos-blockchain-circuits-signature-sys" }
|
lbc-signature-sys = { default-features = false, package = "logos-blockchain-circuits-signature-sys", path = "./logos-blockchain-circuits-signature-sys" }
|
||||||
lbc-types = { default-features = false, package = "logos-blockchain-circuits-types", path = "./logos-blockchain-circuits-types" }
|
lbc-types = { default-features = false, package = "logos-blockchain-circuits-types", path = "./logos-blockchain-circuits-types" }
|
||||||
lbc-utils = { default-features = false, package = "logos-blockchain-circuits-utils", path = "./logos-blockchain-circuits-utils" }
|
lbc-common = { default-features = false, package = "logos-blockchain-circuits-common", path = "./logos-blockchain-circuits-common" }
|
||||||
|
|
||||||
# External
|
# External
|
||||||
flate2 = "1"
|
flate2 = "1"
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "logos-blockchain-circuits-utils"
|
name = "logos-blockchain-circuits-common"
|
||||||
categories.workspace = true
|
categories.workspace = true
|
||||||
description.workspace = true
|
description.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
@ -11,7 +11,7 @@ version.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lbc-types = { workspace = true }
|
lbc-types = { workspace = true }
|
||||||
lbc-utils = { workspace = true }
|
lbc-common = { workspace = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
flate2 = { workspace = true }
|
flate2 = { workspace = true }
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use lbc_types::{ffi, native::{Bytes, Error}};
|
use lbc_types::{ffi, native::{Bytes, Error}};
|
||||||
use lbc_types::inputs::CircuitDat;
|
use lbc_types::inputs::CircuitDat;
|
||||||
use lbc_utils::string::path_as_null_terminated_string;
|
use lbc_common::string::path_as_null_terminated_string;
|
||||||
use crate::ffi::{poc_generate_witness, poc_generate_witness_from_files};
|
use crate::ffi::{poc_generate_witness, poc_generate_witness_from_files};
|
||||||
|
|
||||||
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_POC_LIB_DIR"), "/witness_generator.dat"));
|
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_POC_LIB_DIR"), "/witness_generator.dat"));
|
||||||
|
|||||||
@ -11,7 +11,7 @@ version.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lbc-types = { workspace = true }
|
lbc-types = { workspace = true }
|
||||||
lbc-utils = { workspace = true }
|
lbc-common = { workspace = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
flate2 = { workspace = true }
|
flate2 = { workspace = true }
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use lbc_types::{ffi, native::{Bytes, Error}};
|
use lbc_types::{ffi, native::{Bytes, Error}};
|
||||||
use lbc_types::inputs::CircuitDat;
|
use lbc_types::inputs::CircuitDat;
|
||||||
use lbc_utils::string::path_as_null_terminated_string;
|
use lbc_common::string::path_as_null_terminated_string;
|
||||||
use crate::ffi::{pol_generate_witness, pol_generate_witness_from_files};
|
use crate::ffi::{pol_generate_witness, pol_generate_witness_from_files};
|
||||||
|
|
||||||
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_POL_LIB_DIR"), "/witness_generator.dat"));
|
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_POL_LIB_DIR"), "/witness_generator.dat"));
|
||||||
|
|||||||
@ -11,7 +11,7 @@ version.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lbc-types = { workspace = true }
|
lbc-types = { workspace = true }
|
||||||
lbc-utils = { workspace = true }
|
lbc-common = { workspace = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
flate2 = { workspace = true }
|
flate2 = { workspace = true }
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use lbc_types::{ffi, native::{Bytes, Error}};
|
use lbc_types::{ffi, native::{Bytes, Error}};
|
||||||
use lbc_types::inputs::CircuitDat;
|
use lbc_types::inputs::CircuitDat;
|
||||||
use lbc_utils::string::path_as_null_terminated_string;
|
use lbc_common::string::path_as_null_terminated_string;
|
||||||
use crate::ffi::{poq_generate_witness, poq_generate_witness_from_files};
|
use crate::ffi::{poq_generate_witness, poq_generate_witness_from_files};
|
||||||
|
|
||||||
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_POQ_LIB_DIR"), "/witness_generator.dat"));
|
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_POQ_LIB_DIR"), "/witness_generator.dat"));
|
||||||
|
|||||||
@ -11,7 +11,7 @@ version.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lbc-types = { workspace = true }
|
lbc-types = { workspace = true }
|
||||||
lbc-utils = { workspace = true }
|
lbc-common = { workspace = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
flate2 = { workspace = true }
|
flate2 = { workspace = true }
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use lbc_types::{ffi, native::{Bytes, Error}};
|
use lbc_types::{ffi, native::{Bytes, Error}};
|
||||||
use lbc_types::inputs::CircuitDat;
|
use lbc_types::inputs::CircuitDat;
|
||||||
use lbc_utils::string::path_as_null_terminated_string;
|
use lbc_common::string::path_as_null_terminated_string;
|
||||||
use crate::ffi::{signature_generate_witness, signature_generate_witness_from_files};
|
use crate::ffi::{signature_generate_witness, signature_generate_witness_from_files};
|
||||||
|
|
||||||
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_SIGNATURE_LIB_DIR"), "/witness_generator.dat"));
|
pub(crate) const RAW_CIRCUIT_DAT: &[u8] = include_bytes!(concat!(env!("LBC_SIGNATURE_LIB_DIR"), "/witness_generator.dat"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user