Skip to content

Commit

Permalink
fix!: make tangle-subxt no-std compatible again (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA authored Dec 2, 2024
1 parent 1f2eda5 commit 5946d5b
Show file tree
Hide file tree
Showing 5 changed files with 13,771 additions and 16,482 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/check-subxt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: check tangle-subxt

on:
pull_request:
branches: [ main ]
paths:
- 'tangle-subxt'

workflow_dispatch:

jobs:
features:
timeout-minutes: 90
name: Test building with each feature
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: stable

- uses: swatinem/rust-cache@v2
with:
cache-on-failure: "true"

- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack

- name: Ensure wasm32-unknown-unknown is installed
run: rustup target add wasm32-unknown-unknown

- name: Test each feature
run: cargo hack build --each-feature --package=tangle-subxt
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion tangle-subxt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tangle-subxt"
version = "0.6.0"
version = "0.7.0"
description = "Rust bindings and interface to interact with Tangle Network using subxt"
authors = { workspace = true }
edition = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion tangle-subxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Use the [`subxt-cli`](https://lib.rs/crates/subxt-cli) tool to download the meta

1. Install:
```bash
cargo install subxt-cli@0.37.0 --force
cargo install subxt-cli@0.38.0 --force
```

2. To Save the metadata of `tangle`:
Expand Down
Loading

0 comments on commit 5946d5b

Please sign in to comment.