Skip to content

Commit

Permalink
fix(crates-io): resolve publishing issues (#4041)
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Jul 5, 2024
1 parent e8b483b commit 13d95cf
Show file tree
Hide file tree
Showing 51 changed files with 85 additions and 36 deletions.
26 changes: 13 additions & 13 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 @@ -203,7 +203,7 @@ gbuiltin-bls381 = { path = "gbuiltins/bls381", default-features = false }
gcore = { path = "gcore" }
gcli = { path = "gcli" }
gclient = { path = "gclient" }
gnode = { path = "utils/gnode" }
gear-node-wrapper = { path = "utils/node-wrapper" }
gsdk = { path = "gsdk" }
gsdk-codegen = { path = "gsdk/codegen" }
gstd = { path = "gstd", features = ["nightly"] }
Expand Down Expand Up @@ -490,7 +490,7 @@ scale-decode = "0.9.0" # gsdk
directories = "5.0.1" # utils/key-finder
num-traits = { version = "0.2", default-features = false } # gear-core
glob = "0.3.1" # cargo-gbuild
smallvec = "1.13.2" # utils/gnode
smallvec = "1.13.2" # utils/node-wrapper

# TODO: remove after wasmer bug is fixed:
# `misaligned pointer dereference: address must be a multiple of 0x8 but is...`
Expand Down
1 change: 1 addition & 0 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-common"
description = "Gear common library for the runtime"
documentation = "https://docs.rs/gear-common"
keywords = ["gear", "wasm"]
categories = ["wasm"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions common/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-common-codegen"
description = "Code generation library for the Gear common library"
documentation = "https://docs.rs/gear-common-codegen"
keywords = ["gear", "wasm", "codegen"]
categories = ["wasm"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions common/numerated/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "numerated"
description = "A library for working with intervals and sets of numerated values"
documentation = "https://docs.rs/numerated"
keywords = ["gear", "tree", "interval", "numerated", "no-std"]
categories = ["mathematics", "no-std"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions core-backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-core-backend"
description = "Gear WASM backend"
documentation = "https://docs.rs/gear-core-backend"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions core-errors/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-core-errors"
description = "Shared errors for Gear core libraries"
documentation = "https://docs.rs/gear-core-errors"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions core-processor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-core-processor"
description = "The core processor for Gear programs"
documentation = "https://docs.rs/core-processor"
keywords = ["gear", "wasm"]
categories = ["wasm"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-core"
description = "Gear core library"
documentation = "https://docs.rs/gear-core"
keywords = ["gear", "wasm"]
categories = ["wasm"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions galloc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "galloc"
description = "Gear Wasm allocator"
documentation = "https://docs.rs/galloc"
keywords = ["gear", "allocator", "wasm"]
version.workspace = true
authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion gcli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ rand.workspace = true
demo-messenger.workspace = true
demo-new-meta.workspace = true
demo-waiter.workspace = true
gnode.workspace = true
gear-node-wrapper.workspace = true

[build-dependencies]
which.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion gcli/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Common utils for integration tests
pub use self::{args::Args, node::NodeExec, result::Result};
use gear_core::ids::{prelude::*, CodeId, ProgramId};
use gnode::{Node, NodeInstance};
use gear_node_wrapper::{Node, NodeInstance};
use gsdk::ext::{sp_core::crypto::Ss58Codec, sp_runtime::AccountId32};
use std::{
iter::IntoIterator,
Expand Down
3 changes: 2 additions & 1 deletion gclient/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gclient"
description = "API client for Gear node in Rust"
documentation = "https://docs.rs/gclient"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand All @@ -11,7 +12,7 @@ repository.workspace = true
[dependencies]
gear-utils.workspace = true
gsdk = { workspace = true, features = ["testing"] }
gnode.workspace = true
gear-node-wrapper.workspace = true
gear-core.workspace = true
gear-core-errors.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion gclient/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub mod storage;

use crate::{ws::WSAddress, EventListener};
use error::*;
use gnode::{Node, NodeInstance};
use gear_node_wrapper::{Node, NodeInstance};
use gsdk::{
ext::{sp_core::sr25519, sp_runtime::AccountId32},
signer::Signer,
Expand Down
1 change: 1 addition & 0 deletions gcore/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gcore"
description = "Gear programs core library"
documentation = "https://docs.rs/gcore"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions gmeta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gmeta"
description = "Metadata library for Gear programs"
documentation = "https://docs.rs/gmeta"
keywords = ["gear", "wasm"]
categories = ["wasm"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions gmeta/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gmeta-codegen"
description = "Code generation library for the metadata of Gear program"
documentation = "https://docs.rs/gmeta-codegen"
keywords = ["gear", "wasm", "codegen"]
categories = ["wasm"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions gprimitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gprimitives"
description = "Gear programs' primitives"
documentation = "https://docs.rs/gprimitives"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
7 changes: 4 additions & 3 deletions gsdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "gsdk"
keywords = ["gear", "api", "sdk"]
categories = ["wasm", "api-bindings"]
description = "Rust SDK of the Gear network"
documentation = "https://docs.rs/gsdk"
categories = ["wasm", "api-bindings"]
keywords = ["gear", "api", "sdk"]
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down Expand Up @@ -41,7 +42,7 @@ parity-scale-codec.workspace = true
rand = { workspace = true, optional = true }

[dev-dependencies]
gnode.workspace = true
gear-node-wrapper.workspace = true
tokio = { workspace = true, features = [ "full" ] }
demo-messenger.workspace = true
demo-new-meta.workspace = true
Expand Down
1 change: 1 addition & 0 deletions gsdk/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gsdk-codegen"
description = "Code generation library for the Rust SDK of Gear network"
documentation = "https://docs.rs/gsdk-codegen"
keywords = ["gear", "sdk", "codegen"]
categories = ["api-bindings"]
version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion gsdk/tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

use gnode::{Node, NodeInstance};
use gear_node_wrapper::{Node, NodeInstance};
use gsdk::ext::{sp_core::crypto::Ss58Codec, sp_runtime::AccountId32};

pub fn dev_node() -> NodeInstance {
Expand Down
1 change: 1 addition & 0 deletions gstd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gstd"
description = "Gear programs standard library"
documentation = "https://docs.rs/gstd"
keywords = ["gear", "std", "no-std", "wasm", "smart-contracts"]
categories = ["api-bindings"]
# Stable version of Rust >=1.73 is required due to new format of panic message.
Expand Down
1 change: 1 addition & 0 deletions gstd/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gstd-codegen"
description = "Code generation library for the Gear standard library"
documentation = "https://docs.rs/gstd-codegen"
keywords = ["gear", "codegen", "std"]
categories = ["api-bindings"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions gsys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gsys"
description = "System calls of Gear program"
documentation = "https://docs.rs/gsys"
keywords = ["gear", "wasm"]
categories = ["wasm", "api-bindings"]
version.workspace = true
Expand Down
1 change: 1 addition & 0 deletions gtest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gtest"
description = "Testing utils for developing Gear programs."
documentation = "https://docs.rs/gtest"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions lazy-pages/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-lazy-pages"
description = "Gear lazy-pages implementation"
documentation = "https://docs.rs/gear-lazy-pages"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions lazy-pages/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-lazy-pages-common"
description = "Gear lazy-pages commons"
documentation = "https://docs.rs/gear-lazy-pages-common"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions lazy-pages/interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-lazy-pages-interface"
description = "Gear lazy-pages actual interface"
documentation = "https://docs.rs/gear-lazy-pages-interface"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions lazy-pages/native-interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-lazy-pages-native-interface"
description = "Gear lazy-pages native interface"
documentation = "https://docs.rs/gear-lazy-pages-native-interface"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions runtime-interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-runtime-interface"
description = "Gear Runtime Interface"
documentation = "https://docs.rs/gear-runtime-interface"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions runtime/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-runtime-primitives"
description = "Gear Runtime primitives"
documentation = "https://docs.rs/gear-runtime-primitives"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions sandbox/env/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-sandbox-env"
description = "This crate provides means to instantiate and execute wasm modules."
documentation = "https://docs.rs/gear-sandbox-env"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion sandbox/host/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-sandbox-host"
description = "A set of common definitions that are needed for defining execution engines."
documentation = "https://docs.rs/gear-sandbox-host"
readme = "README.md"
authors.workspace = true
edition.workspace = true
Expand All @@ -24,7 +25,7 @@ sp-allocator = { workspace = true, features = ["std"] }
sp-wasm-interface-common = { workspace = true, features = ["std"] }
gear-sandbox-env = { workspace = true, features = ["std"] }
wasmer-cache = { workspace = true, optional = true }
tempfile.workspace = true
tempfile.workspace = true
uluru = { workspace = true, optional = true }

[features]
Expand Down
1 change: 1 addition & 0 deletions sandbox/sandbox/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-sandbox"
description = "This crate provides means to instantiate and execute wasm modules."
documentation = "https://docs.rs/gear-sandbox"
readme = "README.md"
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions stack-buffer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "gear-stack-buffer"
description = "Gear stack buffer implementation"
documentation = "https://docs.rs/gear-stack-buffer"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions utils/actor-system-error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "actor-system-error"
description = "Helper crate for implementation of errors on gear backend"
documentation = "https://docs.rs/actor-system-error"
edition.workspace = true
version.workspace = true
authors.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions utils/cargo-gbuild/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[package]
name = "cargo-gbuild"
description = "Cargo extension for Gear programs"
documentation = "https://docs.rs/cargo-gbuild"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
Loading

0 comments on commit 13d95cf

Please sign in to comment.