-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The base types will be used in constrained environments such as WASM. A no-std build is required to allow these types to be used.
- Loading branch information
Showing
19 changed files
with
574 additions
and
479 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
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 |
---|---|---|
|
@@ -9,11 +9,29 @@ repository = "https:/FuelLabs/fuel-tx" | |
description = "FuelVM transaction." | ||
|
||
[dependencies] | ||
fuel-asm = { git = "ssh://[email protected]/FuelLabs/fuel-asm.git" } | ||
itertools = "0.10" | ||
rand = "0.8" | ||
serde = { version = "1.0", features = ["derive"], optional = true } | ||
sha2 = "0.9" | ||
fuel-asm = { git = "ssh://[email protected]/FuelLabs/fuel-asm.git", default-features = false } | ||
itertools = { version = "0.10", optional = true } | ||
rand = { version = "0.8", optional = true } | ||
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } | ||
sha2 = { version = "0.9", optional = true } | ||
|
||
[features] | ||
serde-types = ["serde", "fuel-asm/serde-types"] | ||
default = [ "fuel-asm/default", "std" ] | ||
std = [ "fuel-asm/std", "itertools", "rand", "sha2" ] | ||
serde-types = [ "fuel-asm/serde-types", "serde-types-minimal", "serde/default", "std" ] | ||
serde-types-minimal = [ "fuel-asm/serde-types-minimal", "serde" ] | ||
|
||
[[test]] | ||
name = "test-bytes" | ||
path = "tests/bytes.rs" | ||
required-features = ["std"] | ||
|
||
[[test]] | ||
name = "test-offsets" | ||
path = "tests/offset.rs" | ||
required-features = ["std"] | ||
|
||
[[test]] | ||
name = "test-valid" | ||
path = "tests/valid.rs" | ||
required-features = ["std"] |
Oops, something went wrong.