data-anchor-utils 0.4.5

Data Anchor utilities library
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 = "data-anchor-utils"
version = "0.4.5"
authors = ["Nitro Labs <team@nitro.technology>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data Anchor utilities library"
homepage = "https://www.termina.technology"
readme = false
license = "MIT"
repository = "https://github.com/nitro-svm/data-anchor"
resolver = "2"

[package.metadata.cargo-udeps.ignore]
development = ["data-anchor-utils"]

[features]
async = [
    "dep:async-trait",
    "dep:tokio",
]
borsh = ["dep:borsh"]
compression = [
    "dep:flate2",
    "dep:lz4_flex",
    "dep:ruzstd",
]
default = []

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

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.bincode]
version = "1.3.3"

[dependencies.borsh]
version = "1.5.7"
features = ["derive"]
optional = true

[dependencies.flate2]
version = "1.1.2"
optional = true

[dependencies.lz4_flex]
version = "0.11.5"
optional = true

[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]

[dependencies.ruzstd]
version = "0.8.1"
optional = true

[dependencies.serde]
version = "1.0.219"
features = [
    "alloc",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0.143"
features = ["std"]
default-features = false

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.47.1"
features = ["full"]
optional = true

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