Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change meta #43

Merged
merged 5 commits into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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