# 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" name = "lib-ruby-parser" version = "4.0.6+ruby-3.1.2" authors = ["Ilya Bylich "] include = [ "/codegen/**/*.rs", "/src/**/*.rs", "/build.rs", "/Cargo.toml", "/README.md", ] description = "Ruby parser" readme = "README.md" license = "MIT" repository = "https://github.com/lib-ruby-parser/lib-ruby-parser" [profile.dev] debug-assertions = false [profile.release] lto = true [profile.test] debug-assertions = true [[bin]] name = "parse" test = false bench = false required-features = ["bin-parse"] [[bin]] name = "dump_token_ids" test = false bench = false required-features = [] [dependencies.alloc-from-pool] version = "1.0.5" [dependencies.glob] version = "0.3" optional = true [dependencies.lexopt] version = "0.3.0" optional = true [dependencies.lib-ruby-parser-ast] version = "0.55.0" [dependencies.onig] version = "6" optional = true [build-dependencies.rust-bison-skeleton] version = "0.41.0" optional = true [features] bin-parse = [ "lexopt", "pprof", "glob", ] codegen-rust = [] codegen-y = ["rust-bison-skeleton"] debug-all = [ "debug-buffer", "debug-lexer", "debug-parser", ] debug-buffer = [] debug-lexer = [] debug-parser = [] default = [] development = [ "codegen-y", "codegen-rust", ] [target."cfg(not(windows))".dependencies.jemallocator] version = "0.5" optional = true [target."cfg(not(windows))".dependencies.pprof] version = "0.12" features = ["flamegraph"] optional = true