# 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 = "2021" rust-version = "1.78" name = "sus_compiler" version = "0.1.1" authors = ["Lennart Van Hirtum "] include = [ "/src", "/stl/*", "/README.md", "/LICENSE", "/CHANGELOG.md", "/build.rs", "/rustfmt.toml", ] description = "Compiler for the SUS Hardware Design Language" homepage = "https://github.com/pc2/sus-compiler" readme = "README.md" keywords = [ "sus", "fpga", "vlsi", "hdl", "verilog", ] categories = [ "compilers", "text-processing", ] license = "GPL-3.0-or-later" repository = "https://github.com/pc2/sus-compiler" [profile.release] debug = 2 [profile.smol] opt-level = "z" lto = true codegen-units = 1 debug = 0 panic = "abort" inherits = "release" strip = true [dependencies.ariadne] version = "0.4.1" [dependencies.arrayvec] version = "0.7.6" [dependencies.clap] version = "3.2" [dependencies.lsp-server] version = "0.7.1" optional = true [dependencies.lsp-types] version = "0.94.0" optional = true [dependencies.num] version = "0.4" [dependencies.serde] version = "1.0.156" optional = true [dependencies.serde_json] version = "1.0.97" optional = true [dependencies.sus-proc-macro] version = "~0.1.0" [dependencies.tree-sitter] version = "~0.22.2" [dependencies.tree-sitter-sus] version = "~0.1.0" [build-dependencies.dirs-next] version = "2.0.0" [features] default = ["lsp"] lsp = [ "lsp-server", "lsp-types", "serde_json", "serde", ]