# 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 = "odra-modules"
version = "1.5.1"
authors = [
    "Jakub Płaskonka <kuba@odra.dev>",
    "Krzysztof Pobiarżyn <krzysztof@odra.dev>",
    "Maciej Zieliński <maciej@odra.dev>",
]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Collection of reusable Odra modules."
readme = "README.md"
keywords = [
    "wasm",
    "webassembly",
    "blockchain",
]
license = "MIT"
repository = "https://github.com/odradev/odra"

[profile.dev.package."*"]
opt-level = 3

[profile.release]
lto = true
codegen-units = 1

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

[[bin]]
name = "odra_modules_build_contract"
path = "bin/build_contract.rs"
test = false

[[bin]]
name = "odra_modules_build_schema"
path = "bin/build_schema.rs"
test = false

[dependencies.base16]
version = "0.2.1"
default-features = false

[dependencies.base64]
version = "0.22.0"
features = ["alloc"]
default-features = false

[dependencies.odra]
version = "1.5.1"
default-features = false

[dependencies.serde]
version = "1.0.80"
default-features = false

[dependencies.serde-json-wasm]
version = "1.0.1"
default-features = false

[dependencies.serde_json]
version = "1.0.59"
default-features = false

[dev-dependencies.blake2]
version = "0.10.6"

[dev-dependencies.odra-test]
version = "1.5.1"

[dev-dependencies.once_cell]
version = "1"

[build-dependencies.odra-build]
version = "1.5.1"

[features]
default = []
disable-allocator = ["odra/disable-allocator"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.odra-build]
version = "1.5.1"

[lints.rust]
missing_docs = "warn"