# 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 = "nv-redfish-csdl-compiler"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CSDL (OData) schema compiler and Rust code generator for nv-redfish"
documentation = "https://docs.rs/nv-redfish-csdl-compiler"
readme = "README.md"
keywords = [
    "rust",
    "redfish",
    "bmc",
]
categories = ["hardware-support"]
license = "Apache-2.0"
repository = "https://github.com/NVIDIA/nv-redfish"

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

[[bin]]
name = "nv-redfish-csdl-compiler"
path = "src/main.rs"

[[example]]
name = "csdl-parser"
path = "examples/csdl-parser.rs"

[[example]]
name = "schema-compilation"
path = "examples/schema-compilation.rs"

[[example]]
name = "schema-rust-gen"
path = "examples/schema-rust-gen.rs"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.clap_derive]
version = "4.5"

[dependencies.prettyplease]
version = "0.2"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quick-xml]
version = "0.38"
features = ["serialize"]

[dependencies.quote]
version = "1.0"

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

[dependencies.syn]
version = "2.0"

[dependencies.tagged-types]
version = "^0.2.3"

[dependencies.toml]
version = "0.9"
features = [
    "parse",
    "serde",
]
default-features = false

[dev-dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false
