Skip to content

Commit

Permalink
Publication
Browse files Browse the repository at this point in the history
- change meta
- add publish action
  • Loading branch information
devyatkinalexandr authored Sep 19, 2022
1 parent b4ae871 commit 4dab179
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 15 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish waves-rust to crate.io

on:
push:
tags:
- v[0-9].[0-9]+.[0-9]+

jobs:
publish:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
15 changes: 7 additions & 8 deletions Cargo.lock

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

10 changes: 3 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
name = "waves-rust"
version = "0.1.0"
edition = "2021"
rust-version = "1.63.0"
#todo add additional email
rust-version = "1.56"
authors = ["Alexandr Devyatkin <novealx@gmail.com>"]
description = """
A Rust library for interacting with the Waves blockchain.
Supports node interaction, offline transaction signing and creating addresses and keys.
"""
readme = "README.md"
#todo ask about key words
keywords = [
"blockchain",
"async",
Expand All @@ -21,9 +19,8 @@ categories = [
"blockchain",
"cryptography"
]
repository = "https://github.com/DiLeqL/waves-rust"
#todo which licence to use?
#license = "MIT"
repository = "https://github.com/wavesplatform/waves-rust"
license = "MIT"

[dependencies]
# crypto
Expand Down Expand Up @@ -51,7 +48,6 @@ tonic = "0.8.0"
# util
thiserror = "1.0.32"
rand = "0.8.5"
anyhow = "1.0.64"

[lib]
doctest = false
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Supports node interaction, offline transaction signing and creating addresses an
## Using waves-rust in your project
Use the code below to add waves-rust as a dependency for your project.

##### Requirements:
- edition "2021"
- rust-version "1.56" or above

##### Cargo:
```cargo
waves-rust = "0.1.0"
Expand Down

0 comments on commit 4dab179

Please sign in to comment.