[package]
name = "fluentbase-types"
version.workspace = true
description.workspace = true
authors.workspace = true
repository.workspace = true
edition.workspace = true
readme.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
serde = { workspace = true, default-features = false }
byteorder = { workspace = true, default-features = false }
rwasm = { workspace = true }
alloy-primitives = { workspace = true }
strum_macros = { workspace = true }
hashbrown = { workspace = true }
bincode = { workspace = true, features = ["alloc", "serde", "derive"] }
paste = { workspace = true }
fluentbase-codec = { workspace = true }
fluentbase-codec-derive = { workspace = true }

[features]
default = ["std"]
serde = []
std = [
    "rwasm/std",
    "alloy-primitives/std",
    "byteorder/std",
]
debug-print = []
fast-panic = []
svm = []
