# 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 = "cw-schema"
version = "3.0.4-rc.0"
authors = ["Aumetra Weisman <aumetra@cryptolab.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A dependency for CosmWasm contracts to generate schema files for their messages."
readme = false
license = "Apache-2.0"
repository = "https://github.com/CosmWasm/cosmwasm"

[features]
default = ["std"]
std = ["dep:schemars"]

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

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "derive"
path = "tests/derive.rs"

[[test]]
name = "non_static"
path = "tests/non_static.rs"

[[test]]
name = "same_name"
path = "tests/same_name.rs"

[[test]]
name = "self_ref"
path = "tests/self_ref.rs"

[dependencies.cw-schema-derive]
version = "3.0.4-rc.0"

[dependencies.indexmap]
version = "2.3.0"
default-features = false

[dependencies.schemars]
version = "1.0.4"
optional = true

[dependencies.serde]
version = "1.0.204"
features = ["derive"]

[dependencies.serde_with]
version = "3.9.0"
features = ["macros"]
default-features = false

[dependencies.siphasher]
version = "1.0.1"
default-features = false

[dependencies.typeid]
version = "1.0.3"

[dev-dependencies.insta]
version = "1.39.0"
features = ["json"]

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.serde_json]
version = "1.0.120"
