Skip to content

Commit

Permalink
Rename crate with host primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
ekovalev committed Jan 17, 2025
1 parent 82f5c91 commit fa3b359
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ members = [
"gmeta",
"gmeta/codegen",
"gprimitives",
"gprimitives/client",
"gsdk",
"gsdk/codegen",
"gsdk/api-gen",
Expand All @@ -104,6 +103,7 @@ members = [
"node/service",
"node/authorship",
"node/testing",
"node/ark",
"pallets/*",
"runtime/*",
"runtime-interface/sandbox",
Expand Down Expand Up @@ -240,7 +240,7 @@ gtest = { path = "gtest" }
gmeta = { path = "gmeta" }
gmeta-codegen = { path = "gmeta/codegen" }
gprimitives = { path = "gprimitives", default-features = false }
gprimitives-client = { path = "gprimitives/client", default-features = false }
gear-ark = { path = "node/ark" }
gear-authorship = { path = "node/authorship" }
gear-core-backend = { path = "core-backend", default-features = false }
gear-call-gen = { path = "utils/call-gen" }
Expand Down
6 changes: 3 additions & 3 deletions gprimitives/client/Cargo.toml → node/ark/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gprimitives-client"
description = "Self-contained client-side primitives"
documentation = "https://docs.rs/gprimitives-client"
name = "gear-ark"
description = "Host primitives for supported Argument of Knowledge systems"
documentation = "https://docs.rs/gear-ark"
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions runtime-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ gear-core.workspace = true
gear-lazy-pages-common.workspace = true
gear-lazy-pages = { workspace = true, optional = true }
gear-sandbox-interface.workspace = true
gear-ark = { workspace = true, optional = true }

sp-io.workspace = true
sp-runtime-interface.workspace = true
Expand All @@ -29,7 +30,6 @@ ark-ec = { workspace = true, optional = true }
ark-ff = { workspace = true, optional = true }
ark-scale = { workspace = true, optional = true }
sha2 = { workspace = true, optional = true }
gprimitives-client = { workspace = true, optional = true }

[target.'cfg(windows)'.dependencies]
winapi = { workspace = true, features = ["memoryapi"] }
Expand All @@ -55,5 +55,5 @@ std = [
"ark-scale/std",
"sha2/std",

"gprimitives-client/std",
"gear-ark/std",
]
4 changes: 2 additions & 2 deletions runtime-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ use {
},
ark_ff::fields::field_hashers::DefaultFieldHasher,
ark_scale::ArkScale,
gear_lazy_pages::LazyPagesStorage,
gprimitives_client::{
gear_ark::{
field::{
goldilocks_field::GoldilocksField,
types::{Field, PrimeField64},
},
hash::poseidon::Poseidon,
},
gear_lazy_pages::LazyPagesStorage,
};

pub use gear_sandbox_interface::sandbox;
Expand Down
2 changes: 1 addition & 1 deletion utils/crates-io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ pub const STACKED_DEPENDENCIES: &[&str] = &[
"gear-lazy-pages-common",
"gear-lazy-pages",
"gear-sandbox-interface",
"gprimitives-client",
"gear-runtime-interface",
"gear-sandbox",
"gear-core-backend",
"gear-core-processor",
"gear-lazy-pages-native-interface",
"gear-ark",
];

/// Packages need to be published.
Expand Down

0 comments on commit fa3b359

Please sign in to comment.