Defines traits used by more than one pallet.
In your project dependencies (Cargo.toml
):
[package]
[dependencies]
logion-shared = { default-features = false, version = '0.1.0' }
carggo build --release
The authentication and publication on crates.io is done via a github account.
An API key must be configured.
The publisher of the first version becomes the owner of the crates. In order to be added as owner, use the command: cargo owner.
You can also add a team as owner, for instance:
cargo owner --add github:logion-network:logion-devops-team
Increment the version in Cargo.toml:
[package]
version = '0.2.0'
Publish with the following commands (dry-run
option will perform some checks without actually publishing):
cargo publish --dry-run
cargo publish