# 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"
rust-version = "1.86"
name = "af-move-type"
version = "0.17.0"
authors = ["Aftermath Finance <admin@aftermath.finance>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standard for representing Move types (`MoveType`) off-chain and their type tags."
readme = "README.md"
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"
repository = "https://github.com/AftermathFinance/aftermath-sdk-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--generate-link-to-definition",
    "-Zunstable-options",
]

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

[[example]]
name = "primitive_move_instance"
path = "examples/primitive_move_instance.rs"

[dependencies.af-move-type-derive]
version = "0.4.0"

[dependencies.af-sui-types]
version = "0.17.0"
features = ["u256"]
public = true

[dependencies.bcs]
version = "0.1"
public = true

[dependencies.derive-where]
version = "1"

[dependencies.derive_more]
version = "2"
features = [
    "deref",
    "deref_mut",
    "from",
    "into",
]

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"
public = true

[dependencies.serde_with]
version = "3"

[dependencies.sui-sdk-types]
version = "0.2"
public = true

[dependencies.tabled]
version = "0.16"

[dependencies.thiserror]
version = "2"

[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"
