# 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 = "foundation-urtypes"
version = "0.2.0"
description = """
Uniform Resource (UR) types.

This crate provides a collection of Uniform Resources types that can
serialized and deserialized.
"""
homepage = "https://github.com/Foundation-Devices/foundation-rs"
license = "GPL-3.0-or-later"

[[test]]
name = "crypto_address"
path = "tests/crypto_address.rs"
required-features = ["bitcoin"]

[[test]]
name = "crypto_hdkey"
path = "tests/crypto_hdkey.rs"
required-features = ["bitcoin"]

[dependencies.bitcoin]
version = "0.31"
optional = true
default-features = false

[dependencies.foundation-arena]
version = "0.1.0"

[dependencies.heapless]
version = "0.8"
default-features = false

[dependencies.hex]
version = "0.4.2"
default-features = false

[dependencies.minicbor]
version = "0.20"
features = ["derive"]

[dependencies.uuid]
version = "1"
default-features = false

[dev-dependencies.minicbor]
version = "0.20"
features = [
    "derive",
    "alloc",
]

[features]
alloc = ["minicbor/alloc"]
default = ["std"]
std = [
    "alloc",
    "bitcoin/std",
    "minicbor/std",
]
