[package]
name = "device-driver-core"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
keywords = ["device", "driver", "toolkit"]
categories = ["embedded", "hardware-support", "development-tools"]
description = "Internal compiler crate for the device-driver toolkit"
readme = "README.md"
[dependencies]
device-driver-common.workspace = true
device-driver-diagnostics.workspace = true
device-driver-mir.workspace = true
device-driver-lir.workspace = true
device-driver-codegen.workspace = true
device-driver-lexer.workspace = true
device-driver-parser.workspace = true
itertools.workspace = true
clap.workspace = true
syn = { workspace = true, optional = true }
annotate-snippets.workspace = true
prettyplease = { version = "0.3.0", optional = true }
[dev-dependencies]
pretty_assertions = "1.4.1"
[features]
default = ["prettyplease"]
prettyplease = ["dep:prettyplease", "dep:syn"]
gen-docs = ["device-driver-parser/gen-docs", "device-driver-mir/gen-docs"]