v8 146.0.0

Rust bindings to V8
Documentation
# 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 = "2024"
name = "v8"
version = "146.0.0"
authors = ["the Deno authors"]
build = "build.rs"
exclude = [
    "*.css",
    "*.gyp",
    "*.gypi",
    "*.html",
    "*.m4",
    "*.md",
    "*.settings",
    "*.txt",
    "*OWNERS*",
    ".*",
    "AUTHORS",
    "Doxyfile*",
    "LICENSE*",
    "Makefile*",
    "README*",
    "build/android/",
    "build/chromeos/",
    "build/fuchsia/",
    "buildtools/checkdeps/",
    "buildtools/clang_format/",
    "third_party/dragonbox/src/cmake/",
    "third_party/dragonbox/src/other_files/",
    "third_party/dragonbox/src/subproject/",
    "third_party/libc++/src/benchmarks/",
    "third_party/libc++/src/docs/",
    "third_party/libc++/src/lib/",
    "third_party/libc++/src/test/",
    "third_party/libc++/src/utils/",
    "third_party/libc++/src/www/",
    "third_party/libc++abi/src/test/",
    "third_party/llvm-libc/src/benchmarks/",
    "third_party/llvm-libc/src/docs/",
    "third_party/llvm-libc/src/fuzzing/",
    "third_party/llvm-libc/src/test/",
    "third_party/llvm-libc/src/utils/docgen",
    "third_party/icu/android/",
    "third_party/icu/android_small/",
    "third_party/icu/cast/",
    "third_party/icu/chromeos/",
    "third_party/icu/common/icudtl.dat",
    "third_party/icu/common/icudtb.dat",
    "third_party/icu/flutter/",
    "third_party/icu/ios/",
    "third_party/icu/patches/",
    "third_party/icu/source/config/",
    "third_party/icu/source/data/",
    "third_party/icu/source/extra/",
    "third_party/icu/source/io/",
    "third_party/icu/source/python/",
    "third_party/icu/source/samples/",
    "third_party/icu/source/test/",
    "third_party/icu/source/tools/",
    "third_party/icu/tzres/",
    "third_party/abseil-cpp/*.def",
    "third_party/abseil-cpp/absl/time/internal/cctz/testdata",
    "third_party/highway/src/hwy/tests",
    "third_party/highway/src/docs",
    "third_party/highway/src/g3doc",
    "third_party/fp16/src/test",
    "third_party/fast_float/src/tests",
    "tools/clang",
    "tools/win",
    "v8/ChangeLog",
    "v8/benchmarks/",
    "v8/docs/",
    "v8/samples/",
    "v8/test/",
    "v8/tools/",
    "!.gn",
    "!BUILD.gn",
    "!tools/clang/scripts/update.py",
    "!tools/win/DebugVisualizers",
    "!v8/test/torque/test-torque.tq",
    "!v8/tools/gen-postmortem-metadata.py",
    "!v8/tools/gen-v8-gn.py",
    "!v8/tools/js2c.py",
    "!v8/tools/run.py",
    "!v8/tools/snapshot/asm_to_inline_asm.py",
    "!v8/tools/testrunner/utils/dump_build_config.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings to V8"
readme = "README.md"
license = "MIT"
repository = "https://github.com/denoland/rusty_v8"

[features]
default = ["use_custom_libcxx"]
use_custom_libcxx = []
v8_enable_pointer_compression = []
v8_enable_sandbox = ["v8_enable_pointer_compression"]
v8_enable_v8_checks = []

[lib]
name = "v8"
path = "src/lib.rs"

[[example]]
name = "cppgc"
path = "examples/cppgc.rs"

[[example]]
name = "cppgc-object"
path = "examples/cppgc-object.rs"

[[example]]
name = "hello_world"
path = "examples/hello_world.rs"

[[example]]
name = "process"
path = "examples/process.rs"

[[example]]
name = "shell"
path = "examples/shell.rs"

[[test]]
name = "build"
path = "build.rs"

[[test]]
name = "slots"
path = "tests/slots.rs"

[[test]]
name = "test_api"
path = "tests/test_api.rs"

[[test]]
name = "test_api_entropy_source"
path = "tests/test_api_entropy_source.rs"

[[test]]
name = "test_api_flags"
path = "tests/test_api_flags.rs"

[[test]]
name = "test_concurrent_isolate_creation_and_disposal"
path = "tests/test_concurrent_isolate_creation_and_disposal.rs"

[[test]]
name = "test_cppgc"
path = "tests/test_cppgc.rs"

[[test]]
name = "test_external_deserialize"
path = "tests/test_external_deserialize.rs"

[[test]]
name = "test_platform_atomics_pump_message_loop"
path = "tests/test_platform_atomics_pump_message_loop.rs"

[[test]]
name = "test_simple_external"
path = "tests/test_simple_external.rs"

[[test]]
name = "test_single_threaded_default_platform"
path = "tests/test_single_threaded_default_platform.rs"

[[test]]
name = "test_ui"
path = "tests/test_ui.rs"

[[bench]]
name = "function"
path = "benches/function.rs"
harness = false

[dependencies.bitflags]
version = "2.5"

[dependencies.paste]
version = "1.0"

[dependencies.temporal_capi]
version = "0.1.2"
features = ["zoneinfo64"]

[dev-dependencies.align-data]
version = "0.1.0"

[dev-dependencies.bindgen]
version = "0.72"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.fslock]
version = "0.2"

[dev-dependencies.gzip-header]
version = "1.0.0"

[dev-dependencies.home]
version = "0"

[dev-dependencies.miniz_oxide]
version = "0.8.8"

[dev-dependencies.rustversion]
version = "1"

[dev-dependencies.trybuild]
version = "1.0.96"

[dev-dependencies.which]
version = "6"

[build-dependencies.bindgen]
version = "0.72"

[build-dependencies.fslock]
version = "0.2"

[build-dependencies.gzip-header]
version = "1.0.0"

[build-dependencies.home]
version = "0"

[build-dependencies.miniz_oxide]
version = "0.8.8"

[build-dependencies.which]
version = "6"

[profile.dev]
opt-level = 1