# 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.65" name = "loxcraft" version = "0.1.1" authors = [ "Ajeet D'Souza <98ajeet@gmail.com>", "Kartik Sharma ", ] description = "A compiler, VM, language server, and online playground for the Lox programming language" readme = "README.md" keywords = [ "compiler", "interpreter", "language", "lox", "vm", ] license = "MIT" repository = "https://github.com/ajeetdsouza/loxcraft" [profile.pprof] lto = false codegen-units = 16 debug = 2 inherits = "release" strip = false [profile.release] lto = true codegen-units = 1 debug = false panic = "abort" strip = true [dependencies.anyhow] version = "1.0.52" [dependencies.arrayvec] version = "0.7.2" [dependencies.clap] version = "4.0.0" features = ["derive"] [dependencies.codespan-reporting] version = "0.11.1" [dependencies.dirs] version = "5.0.0" optional = true [dependencies.hashbrown] version = "0.13.1" features = ["inline-more"] default-features = false [dependencies.iota] version = "0.2.2" [dependencies.lalrpop-util] version = "0.19.6" [dependencies.logos] version = "0.12.0" [dependencies.nu-ansi-term] version = "0.47.0" optional = true [dependencies.pprof] version = "0.11.1" features = [ "cpp", "flamegraph", ] optional = true [dependencies.reedline] version = "0.18.0" optional = true [dependencies.rustc-hash] version = "1.1.0" [dependencies.termcolor] version = "1.1.3" [dependencies.thiserror] version = "1.0.34" [dependencies.tokio] version = "1.17.0" features = [ "io-std", "rt", ] optional = true [dependencies.tower-lsp] version = "0.19.0" optional = true [dependencies.tree-sitter] version = "0.20.4" optional = true [dependencies.tree-sitter-highlight] version = "0.20.1" optional = true [dependencies.tree-sitter-lox] version = "0.1.0" optional = true [dev-dependencies.pretty_assertions] version = "1.1.0" [dev-dependencies.test-generator] version = "0.3.0" [build-dependencies.build-deps] version = "0.1.4" [build-dependencies.lalrpop] version = "0.19.1" default-features = false [features] default = [ "lsp", "repl", ] gc-off = [] gc-stress = [] gc-trace = [] lsp = [ "dep:tokio", "dep:tower-lsp", ] pprof = ["dep:pprof"] repl = [ "dep:dirs", "dep:nu-ansi-term", "dep:reedline", "dep:tree-sitter", "dep:tree-sitter-highlight", "dep:tree-sitter-lox", ] vm-trace = [] [target."cfg(not(any(miri, target_family = \"wasm\")))".dependencies.mimalloc] version = "0.1.27" default-features = false [target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen] version = "0.2.67" [badges.maintenance] status = "actively-developed"