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

Temporarily remove no_std support #60

Merged
merged 9 commits into from
Jan 26, 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
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]
adlerjohn marked this conversation as resolved.
Show resolved Hide resolved
async fn script_call() {
let fuel_client = setup_local_node().await;

Expand Down