# 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.5.1"
authors = ["Fuel Labs <contact@fuel.sh>"]
description = "Defines all opcodes available in the FuelVM."
homepage = "https://fuel.network/"
keywords = [
    "blockchain",
    "cryptocurrencies",
    "fuel-vm",
    "vm",
]
categories = [
    "cryptography::cryptocurrencies",
    "data-structures",
    "parsing",
]
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuel-asm"
resolver = "2"

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

[[test]]
name = "test-encoding"
path = "tests/encoding.rs"
required-features = ["std"]

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

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

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

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