# 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.79.0" name = "boa_engine" version = "0.19.1" authors = ["boa-dev"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Boa is a Javascript lexer, parser and compiler written in Rust. Currently, it has support for some of the language." readme = "README.md" keywords = [ "javascript", "js", "compiler", "lexer", "parser", ] categories = [ "parser-implementations", "compilers", ] license = "Unlicense OR MIT" repository = "https://github.com/boa-dev/boa" [package.metadata.docs.rs] all-features = true [lib] name = "boa_engine" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" bench = false [[test]] name = "imports" path = "tests/imports.rs" [[test]] name = "module" path = "tests/module.rs" [[bench]] name = "full" path = "benches/full.rs" harness = false [dependencies.arrayvec] version = "0.7.4" [dependencies.bitflags] version = "2.5.0" [dependencies.boa_ast] version = "~0.19.1" [dependencies.boa_gc] version = "~0.19.1" features = [ "thin-vec", "boa_string", ] [dependencies.boa_icu_provider] version = "~0.19.1" features = ["std"] optional = true [dependencies.boa_interner] version = "~0.19.1" [dependencies.boa_macros] version = "~0.19.1" [dependencies.boa_parser] version = "~0.19.1" [dependencies.boa_profiler] version = "~0.19.1" [dependencies.boa_string] version = "~0.19.1" [dependencies.bytemuck] version = "1.16.1" features = ["derive"] default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.dashmap] version = "5.5.3" [dependencies.either] version = "1.13.0" optional = true [dependencies.fast-float] version = "0.2.0" [dependencies.fixed_decimal] version = "~0.5.6" features = [ "ryu", "experimental", ] optional = true [dependencies.hashbrown] version = "0.14.5" default-features = false [dependencies.icu_calendar] version = "~1.5.1" optional = true default-features = false [dependencies.icu_casemap] version = "~1.5.0" features = ["serde"] optional = true default-features = false [dependencies.icu_collator] version = "~1.5.0" features = ["serde"] optional = true default-features = false [dependencies.icu_datetime] version = "~1.5.1" features = [ "serde", "experimental", ] optional = true default-features = false [dependencies.icu_decimal] version = "~1.5.0" features = ["serde"] optional = true default-features = false [dependencies.icu_list] version = "~1.5.0" features = ["serde"] optional = true default-features = false [dependencies.icu_locid] version = "~1.5.0" features = ["serde"] optional = true default-features = false [dependencies.icu_locid_transform] version = "~1.5.0" features = [ "std", "serde", ] optional = true default-features = false [dependencies.icu_normalizer] version = "~1.5.0" features = ["compiled_data"] default-features = false [dependencies.icu_plurals] version = "~1.5.0" features = [ "serde", "experimental", ] optional = true default-features = false [dependencies.icu_provider] version = "~1.5.0" optional = true default-features = false [dependencies.icu_segmenter] version = "~1.5.0" features = [ "auto", "serde", ] optional = true default-features = false [dependencies.indexmap] version = "2.2.6" features = ["std"] default-features = false [dependencies.intrusive-collections] version = "0.9.6" [dependencies.itertools] version = "0.13.0" default-features = false [dependencies.num-bigint] version = "0.4.6" features = ["serde"] [dependencies.num-integer] version = "0.1.46" [dependencies.num-traits] version = "0.2.19" [dependencies.num_enum] version = "0.7.2" [dependencies.once_cell] version = "1.19.0" features = ["std"] default-features = false [dependencies.pollster] version = "0.3.0" [dependencies.portable-atomic] version = "1.6.0" [dependencies.rand] version = "0.8.5" [dependencies.regress] version = "0.10.0" features = ["utf16"] [dependencies.rustc-hash] version = "2.0.0" features = ["std"] default-features = false [dependencies.ryu-js] version = "1.0.1" [dependencies.serde] version = "1.0.204" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.120" [dependencies.sptr] version = "0.3.2" [dependencies.static_assertions] version = "1.1.0" [dependencies.sys-locale] version = "0.3.1" optional = true [dependencies.tap] version = "1.0.1" [dependencies.temporal_rs] version = "0.0.3" optional = true [dependencies.thin-vec] version = "0.2.13" [dependencies.thiserror] version = "1.0.60" [dependencies.time] version = "0.3.36" features = [ "local-offset", "large-dates", "wasm-bindgen", "parsing", "formatting", "macros", ] default-features = false [dependencies.tinystr] version = "0.7.5" optional = true [dependencies.writeable] version = "~0.5.5" optional = true [dependencies.yoke] version = "~0.7.4" optional = true [dependencies.zerofrom] version = "~0.1.4" optional = true [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.float-cmp] version = "0.9.0" [dev-dependencies.futures-lite] version = "2.3.0" [dev-dependencies.indoc] version = "2.0.5" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.textwrap] version = "0.16.0" [features] annex-b = ["boa_parser/annex-b"] deser = [ "boa_interner/serde", "boa_ast/serde", ] either = ["dep:either"] experimental = ["temporal"] flowgraph = [] fuzz = [ "boa_ast/arbitrary", "boa_interner/arbitrary", ] intl = [ "boa_gc/icu", "icu_normalizer/serde", "icu_normalizer/std", "dep:icu_locid_transform", "dep:icu_locid", "dep:icu_datetime", "dep:icu_plurals", "dep:icu_provider", "dep:icu_calendar", "dep:icu_collator", "dep:icu_casemap", "dep:icu_list", "dep:icu_segmenter", "dep:icu_decimal", "dep:writeable", "dep:sys-locale", "dep:yoke", "dep:zerofrom", "dep:fixed_decimal", "dep:tinystr", ] intl_bundled = [ "intl", "dep:boa_icu_provider", ] js = ["dep:web-time"] profiler = ["boa_profiler/profiler"] temporal = [ "dep:icu_calendar", "dep:temporal_rs", ] trace = ["js"] [target.'cfg(all(target_family = "wasm", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.web-time] version = "1.1.0" optional = true [target.x86_64-unknown-linux-gnu.dev-dependencies.jemallocator] version = "0.5.4" [lints.clippy] all = "warn" complexity = "warn" correctness = "warn" dbg_macro = "warn" pedantic = "warn" perf = "warn" style = "warn" suspicious = "warn" [lints.rust] future_incompatible = "warn" let_underscore = "warn" macro_use_extern_crate = "warn" meta_variable_misuse = "warn" missing_abi = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" missing_docs = "warn" non_ascii_idents = "warn" nonstandard_style = "warn" noop_method_call = "warn" rust_2018_compatibility = "warn" rust_2018_idioms = "warn" rust_2021_compatibility = "warn" single_use_lifetimes = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "warn" unused = "warn" unused_crate_dependencies = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" variant_size_differences = "warn" warnings = "warn" [lints.rustdoc] bare_urls = "warn" broken_intra_doc_links = "warn" invalid_codeblock_attributes = "warn" invalid_rust_codeblocks = "warn" missing_crate_level_docs = "warn" private_doc_tests = "warn" private_intra_doc_links = "warn"