forked from monero-rs/monero-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-upstream
- Loading branch information
Showing
22 changed files
with
1,810 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "cargo" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
|
||
static_analysis: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run Rustfmt | ||
run: cargo fmt -- --check | ||
|
||
- name: Run Clippy | ||
run: cargo clippy --workspace --all-targets -- -D warnings | ||
|
||
build: | ||
|
||
strategy: | ||
matrix: | ||
rust: [ | ||
stable, | ||
nightly | ||
] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust ${{ matrix.rust }} | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
override: true | ||
profile: minimal | ||
|
||
- uses: Swatinem/[email protected] | ||
|
||
- name: Install libboost | ||
run: sudo apt-get install libboost-dev | ||
|
||
- name: Build | ||
run: cargo build --verbose | ||
|
||
- name: Build with feature 'serde_support' | ||
run: cargo build --verbose --features serde_support | ||
|
||
- name: Build with feature 'strict_encoding_support' | ||
run: cargo build --verbose --features strict_encoding_support | ||
|
||
- name: Build wasm with all features | ||
run: cargo build --verbose --all-features | ||
|
||
test: | ||
|
||
strategy: | ||
matrix: | ||
rust: [ | ||
stable, | ||
nightly | ||
] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust ${{ matrix.rust }} | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
override: true | ||
profile: minimal | ||
|
||
- uses: Swatinem/[email protected] | ||
|
||
- run: cargo test --verbose --all-features |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "monero" | ||
description = "Rust Monero Library." | ||
keywords = ["monero"] | ||
version = "0.11.2" | ||
version = "0.12.0" | ||
authors = ["h4sh3d <[email protected]>"] | ||
license = "MIT" | ||
homepage = "https://github.com/monero-rs/monero-rs" | ||
|
@@ -48,9 +48,6 @@ default-features = false | |
rand = { version = "0.7", features = ["std"] } | ||
serde_json = "1" | ||
|
||
[badges] | ||
travis-ci = { repository = "monero-rs/monero-rs", branch = "master" } | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.