rdlfmt 0.1.1

A formatter for SystemRDL
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "rdlfmt"
version = "0.1.1"
build = false
exclude = [
    "docs/",
    "sample.cst",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A formatter for SystemRDL"
readme = "README.md"
keywords = [
    "systemrdl",
    "formatter",
    "eda",
    "registers",
    "csr",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fischeti/rdlfmt"

[features]
cli = [
    "dep:anstyle",
    "dep:clap",
    "dep:similar",
]
default = ["cli"]

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

[[bin]]
name = "rdlfmt"
path = "src/main.rs"
required-features = ["cli"]

[[example]]
name = "dump-cst"
path = "examples/dump_cst.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "invariants"
path = "tests/invariants.rs"

[[test]]
name = "lexer"
path = "tests/lexer.rs"

[[test]]
name = "parser"
path = "tests/parser.rs"

[dependencies.anstyle]
version = "1.0"
optional = true

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

[dependencies.logos]
version = "0.16.1"

[dependencies.rowan]
version = "0.17.0"

[dependencies.similar]
version = "3.1"
optional = true

[profile.dist]
lto = "thin"
inherits = "release"