[dependencies.base64]
public = true
version = "0.22"
[dependencies.bs58]
public = true
version = "0.5"
[dependencies.derive_more]
features = ["from_str"]
version = "2"
[dependencies.hex]
version = "0.4"
[dependencies.primitive-types]
features = ["fp-conversion"]
optional = true
version = "0.14"
[dependencies.proptest]
optional = true
public = true
version = "1"
[dependencies.rand]
optional = true
public = true
version = "0.9"
[dependencies.ref-cast]
version = "1"
[dependencies.serde]
public = true
version = "1"
[dependencies.serde_with]
features = ["base64"]
public = true
version = "3"
[dependencies.sui-sdk-types]
features = ["serde"]
public = true
version = "0.2"
[dependencies.thiserror]
version = "2"
[dependencies.uint]
optional = true
version = "0.10"
[dev-dependencies.insta]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sui-sdk-types]
features = ["proptest"]
version = "0.2"
[dev-dependencies.test-strategy]
version = "0.4"
[features]
fuzzing = ["dep:proptest"]
hash = ["sui-sdk-types/hash"]
u256 = ["dep:primitive-types", "dep:rand", "dep:uint"]
[lib]
name = "af_sui_types"
path = "src/lib.rs"
[lints.clippy]
double_parens = "allow"
todo = "warn"
uninlined_format_args = "allow"
unwrap_used = "warn"
[lints.clippy.nursery]
level = "warn"
priority = 1
[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 2
[lints.rust]
exported_private_dependencies = "allow"
[package]
authors = ["Aftermath Finance <admin@aftermath.finance>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography::cryptocurrencies"]
description = "Aftermath's extensions to `sui-sdk-types`"
edition = "2024"
license = "Apache-2.0"
name = "af-sui-types"
readme = "README.md"
repository = "https://github.com/AftermathFinance/aftermath-sdk-rust"
rust-version = "1.86"
version = "0.17.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition", "-Zunstable-options"]
[[test]]
name = "bcs"
path = "tests/bcs.rs"
[[test]]
name = "bcs_dof_object_id"
path = "tests/bcs_dof_object_id.rs"
[[test]]
name = "bcs_end_of_epoch_tx"
path = "tests/bcs_end_of_epoch_tx.rs"
[[test]]
name = "bcs_object_de"
path = "tests/bcs_object_de.rs"
[[test]]
name = "digest"
path = "tests/digest.rs"
[[test]]
name = "digest_string"
path = "tests/digest_string.rs"