[dependencies.boa_engine]
version = "~0.21.0"
[dependencies.boa_gc]
version = "~0.21.0"
[dependencies.bytemuck]
default-features = false
version = "1.24.0"
[dependencies.either]
optional = true
version = "1.15.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.futures-lite]
version = "2.6.1"
[dependencies.http]
optional = true
version = "1.3.1"
[dependencies.reqwest]
optional = true
version = "0.12.20"
[dependencies.rustc-hash]
default-features = false
features = ["std"]
version = "2.1.1"
[dependencies.serde_json]
optional = true
version = "1.0.145"
[dependencies.url]
optional = true
version = "2.5.7"
[dev-dependencies.indoc]
version = "2.0.6"
[dev-dependencies.rstest]
version = "0.25.0"
[dev-dependencies.test-case]
version = "3.3.1"
[dev-dependencies.textwrap]
version = "0.16.2"
[features]
all = ["default", "reqwest-blocking"]
default = ["fetch", "url"]
fetch = ["dep:either", "dep:http", "dep:serde_json", "boa_engine/either"]
reqwest-blocking = ["dep:reqwest", "reqwest/blocking"]
url = ["dep:url"]
[lib]
name = "boa_runtime"
path = "src/lib.rs"
[lints.clippy]
dbg_macro = "warn"
print_stderr = "warn"
print_stdout = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
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"
noop_method_call = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_crate_dependencies = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
warnings = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.let_underscore]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.unused]
level = "warn"
priority = -1
[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"
[package]
authors = ["boa-dev"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["command-line-utilities"]
description = "Example runtime for the Boa JavaScript engine."
edition = "2024"
keywords = ["javascript", "js", "runtime"]
license = "Unlicense OR MIT"
name = "boa_runtime"
readme = false
repository = "https://github.com/boa-dev/boa"
resolver = "2"
rust-version = "1.88.0"
version = "0.21.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "clone"
path = "tests/clone.rs"