multiversx-sc-codec 0.25.0

Lightweight binary serializer/deserializer, written especially for MultiversX smart contracts
Documentation
# 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 = "2024"
name = "multiversx-sc-codec"
version = "0.25.0"
authors = [
    "Andrei Marinica <andrei.marinica@multiversx.com>",
    "MultiversX <contact@multiversx.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight binary serializer/deserializer, written especially for MultiversX smart contracts"
homepage = "https://multiversx.com/"
documentation = "https://docs.multiversx.com/"
readme = "README.md"
keywords = [
    "multiversx",
    "wasm",
    "webassembly",
    "blockchain",
    "contract",
]
categories = [
    "no-std",
    "wasm",
    "cryptography::cryptocurrencies",
    "development-tools",
]
license = "GPL-3.0-only"
repository = "https://github.com/multiversx/mx-sdk-rs"

[features]
derive = ["multiversx-sc-codec-derive"]

[lib]
name = "multiversx_sc_codec"
path = "src/lib.rs"

[[test]]
name = "derive_bitflags_struct"
path = "tests/derive_bitflags_struct.rs"

[[test]]
name = "derive_empty_struct_test"
path = "tests/derive_empty_struct_test.rs"

[[test]]
name = "derive_enum_or_default_test"
path = "tests/derive_enum_or_default_test.rs"

[[test]]
name = "derive_enum_test"
path = "tests/derive_enum_test.rs"

[[test]]
name = "derive_enum_tricky_defaults_fieldless_test"
path = "tests/derive_enum_tricky_defaults_fieldless_test.rs"

[[test]]
name = "derive_enum_tricky_defaults_test"
path = "tests/derive_enum_tricky_defaults_test.rs"

[[test]]
name = "derive_hygiene"
path = "tests/derive_hygiene.rs"

[[test]]
name = "derive_struct_or_default_generic_test"
path = "tests/derive_struct_or_default_generic_test.rs"

[[test]]
name = "derive_struct_or_default_test"
path = "tests/derive_struct_or_default_test.rs"

[[test]]
name = "derive_struct_test"
path = "tests/derive_struct_test.rs"

[[test]]
name = "derive_struct_with_generic_test"
path = "tests/derive_struct_with_generic_test.rs"

[[test]]
name = "derive_tuple_struct_test"
path = "tests/derive_tuple_struct_test.rs"

[[test]]
name = "explicit_impl_enum"
path = "tests/explicit_impl_enum.rs"

[[test]]
name = "explicit_impl_struct"
path = "tests/explicit_impl_struct.rs"

[[test]]
name = "explicit_impl_struct_opt_field"
path = "tests/explicit_impl_struct_opt_field.rs"

[[test]]
name = "explicit_impl_wrapped_array"
path = "tests/explicit_impl_wrapped_array.rs"

[dependencies.arrayvec]
version = "0.7"
default-features = false

[dependencies.bitflags]
version = "2.9"

[dependencies.multiversx-sc-codec-derive]
version = "=0.25.0"
optional = true

[dependencies.num-bigint]
version = "0.4"
optional = true

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.unwrap-infallible]
version = "1.0"

[dev-dependencies.multiversx-sc-codec-derive]
version = "=0.25.0"