Skip to content

Commit

Permalink
Temporarily remove no_std support (#60)
Browse files Browse the repository at this point in the history
* Remove no-std configs until proper refactor

* Revert formatting changes

* Explain ignored test
  • Loading branch information
digorithm authored Jan 26, 2022
1 parent 41f5f96 commit 929248b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
args: --verbose --all-features
env:
RUSTFLAGS: "-D warnings"

Expand Down
19 changes: 6 additions & 13 deletions fuels-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,12 @@ description = "Fuel Rust SDK core."

[dependencies]
fuel-tx = "0.2"
fuel-types = { version = "0.1", default-features = false }
fuel-types = "0.1"
fuel-vm = "0.2"
hex = { version = "0.4.3", default-features = false, features = ["std"] }
rand = { version = "0.8.4", default-features = false }
serde = { version = "1.0.124", default-features = true, features = ["derive"] }
sha2 = { version = "0.9.5", optional = true }
hex = { version = "0.4.3", features = ["std"] }
rand = { version = "0.8.4" }
serde = { version = "1.0.124", features = ["derive"] }
sha2 = "0.9.5"
strum = "0.21"
strum_macros = "0.21"
thiserror = { version = "1.0.30", default-features = false }

[dev-dependencies]
hex = { version = "0.4.3", default-features = false, features = ["std"] }

[features]
default = ["fuel-types/default", "sha2"]
no-std = ["fuel-types/serde-types-minimal"]
thiserror = "1.0.30"
1 change: 0 additions & 1 deletion fuels-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use fuel_types::Word;
use strum_macros::EnumString;

pub mod abi_decoder;
#[cfg(not(feature = "no-std"))]
pub mod abi_encoder;
pub mod errors;
pub mod signature;
Expand Down
3 changes: 3 additions & 0 deletions fuels-rs/tests/calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ use rand::rngs::StdRng;
use rand::{Rng, SeedableRng};

#[tokio::test]
// Currently ignoring this test case, more information here:
// https://github.com/FuelLabs/fuels-rs/issues/64
#[ignore]
async fn script_call() {
let fuel_client = setup_local_node().await;

Expand Down

0 comments on commit 929248b

Please sign in to comment.