# 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 = "2021"
name = "mpl-core"
version = "0.10.0-beta.1"
description = "A flexible digital asset standard for Solana"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/metaplex-foundation/mpl-core"

[lib]
crate-type = [
    "cdylib",
    "lib",
]

[dependencies.anchor-lang]
version = "0.30.0"
optional = true

[dependencies.base64]
version = "0.22.0"

[dependencies.borsh]
version = "^0.10"

[dependencies.kaigan]
version = "0.2.6"
features = ["serde"]
optional = false

[dependencies.modular-bitfield]
version = "0.11.2"

[dependencies.num-derive]
version = "^0.3"

[dependencies.num-traits]
version = "^0.2"

[dependencies.rmp-serde]
version = "1.0"

[dependencies.serde]
version = "^1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "^3.0"
optional = true

[dependencies.solana-program]
version = "> 1.14"

[dependencies.thiserror]
version = "^1.0"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.solana-program-test]
version = "> 1.14"

[dev-dependencies.solana-sdk]
version = "> 1.14"

[features]
anchor = [
    "dep:anchor-lang",
    "kaigan/anchor",
]
serde = [
    "dep:serde",
    "dep:serde_with",
]
test-sbf = []
