Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

logion-network/logion-shared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logion-shared

Defines traits used by more than one pallet.

Usage

In your project dependencies (Cargo.toml):

[package]

[dependencies]

logion-shared = { default-features = false, version = '0.1.0' }

Build

carggo build --release

Publish on crates.io

Prerequisite

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

Publication

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