# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "cddl"
version = "0.5.2"
authors = ["Andrew Weiss <andrew.weiss@outlook.com>"]
description = "Parser for the Concise data definition language (CDDL)"
homepage = "https://cddl.anweiss.tech"
readme = "README.md"
license = "MIT"
repository = "https://github.com/anweiss/cddl"
[profile.release]
opt-level = "s"
lto = true

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

[[bin]]
name = "cddl"
path = "src/bin/cddl.rs"
required-features = ["std"]

[[bin]]
name = "repl"
path = "src/bin/repl.rs"
required-features = ["std"]
[dependencies.annotate-snippets]
version = "0.7"

[dependencies.base16]
version = "0.2"

[dependencies.base64]
version = "0.10"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "2.33"

[dependencies.half]
version = "1.3"

[dependencies.itertools]
version = "0.8"

[dependencies.lexical]
version = "^4.0"

[dependencies.regex]
version = "1.3"
features = ["std"]
default-features = false

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

[dependencies.serde_cbor]
version = "0.10"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true
default-features = false

[dependencies.uriparse]
version = "0.6"
optional = true

[dev-dependencies]

[features]
default = ["std"]
nightly = ["uriparse"]
std = ["serde_json", "serde_cbor", "serde"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.crossterm]
version = "0.9"
[target."cfg(target_arch = \"wasm32\")".dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]

[target."cfg(target_arch = \"wasm32\")".dependencies.wee_alloc]
version = "0.4"
optional = true
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
version = "0.2"
