# 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 = "2018" name = "cddl" version = "0.9.4" authors = ["Andrew Weiss "] exclude = [ "cddl-lsp/**/*", "www/**/*", ".github/**/*", ".devcontainer/**/*", "pkg/**/*", ".dockerignore", "Dockerfile", "tests/**/*", ] description = "Parser for the Concise data definition language (CDDL)" homepage = "https://cddl.anweiss.tech" readme = "README.md" categories = [ "parser-implementations", "encoding", "development-tools", "wasm", ] 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/cli.rs" test = false required-features = [ "std", "json", "cbor", ] [dependencies.abnf_to_pest] version = "0.5.1" [dependencies.base16] version = "0.2.1" default-features = false [dependencies.base64-url] version = "2.0.0" optional = true [dependencies.chrono] version = "0.4.19" optional = true [dependencies.ciborium] version = "0.2.0" optional = true [dependencies.clap] version = "3.2.23" features = ["derive"] optional = true [dependencies.codespan-reporting] version = "0.11.1" [dependencies.data-encoding] version = "2.3.3" default-features = false [dependencies.displaydoc] version = "0.2.3" default-features = false [dependencies.hexf-parse] version = "0.2.1" [dependencies.itertools] version = "0.11.0" [dependencies.lexical-core] version = "0.8.3" [dependencies.log] version = "0.4.14" [dependencies.pest_meta] version = "2.1.3" [dependencies.pest_vm] version = "2.1.0" [dependencies.regex] version = "1.5.4" features = [ "std", "unicode-perl", ] default-features = false [dependencies.regex-syntax] version = "0.7.1" optional = true [dependencies.serde] version = "1.0.127" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.66" features = ["std"] optional = true default-features = false [dependencies.simplelog] version = "0.12.1" [dependencies.uriparse] version = "0.6.3" optional = true [dev-dependencies.indoc] version = "2.0.1" [dev-dependencies.pretty_assertions] version = "1.2.0" [features] additional-controls = [] ast-comments = [] ast-parent = [] ast-span = [] cbor = ["std"] default = [ "std", "ast-span", "ast-comments", "json", "cbor", "additional-controls", "ast-parent", ] json = ["std"] lsp = ["std"] std = [ "base16/alloc", "data-encoding/alloc", "serde_json", "ciborium", "serde", "chrono", "wasm-bindgen", "serde-wasm-bindgen", "clap", "crossterm", "uriparse", "base64-url", "regex-syntax", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.crossterm] version = "0.27.0" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.console_error_panic_hook] version = "0.1.6" [target."cfg(target_arch = \"wasm32\")".dependencies.serde-wasm-bindgen] version = "0.5.0" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2" optional = true [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.25" [badges.maintenance] status = "actively-developed"