# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "fuel-asm"
version = "0.50.0"
authors = ["Fuel Labs <contact@fuel.sh>"]
description = "Atomic types of the FuelVM."
homepage = "https://fuel.network/"
readme = "README.md"
keywords = [
    "blockchain",
    "cryptocurrencies",
    "fuel-vm",
    "primitives",
]
categories = [
    "cryptography::cryptocurrencies",
    "data-structures",
    "parsing",
]
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuel-vm"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.arbitrary]
version = "1.1"
features = ["derive"]
optional = true

[dependencies.bitflags]
version = "2"

[dependencies.fuel-types]
version = "0.50.0"
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false

[dependencies.strum]
version = "0.24"
features = ["derive"]
default-features = false

[dependencies.wasm-bindgen]
version = "0.2.88"
optional = true

[dev-dependencies.bincode]
version = "1.3"
default-features = false

[dev-dependencies.rstest]
version = "0.16"

[features]
alloc = []
default = ["std"]
serde = ["dep:serde"]
std = [
    "alloc",
    "serde?/default",
    "fuel-types/std",
]
typescript = ["wasm-bindgen"]
