2019-10-07 19:56:41 -04:00
|
|
|
[package]
|
2021-10-27 08:32:12 -04:00
|
|
|
name = "v8"
|
2024-09-23 20:36:38 -04:00
|
|
|
version = "129.0.0"
|
2019-11-19 17:48:50 -05:00
|
|
|
description = "Rust bindings to V8"
|
|
|
|
readme = "README.md"
|
|
|
|
authors = ["the Deno authors"]
|
|
|
|
license = "MIT"
|
2022-01-04 15:32:48 -05:00
|
|
|
edition = "2021"
|
2019-11-19 17:48:50 -05:00
|
|
|
repository = "https://github.com/denoland/rusty_v8"
|
|
|
|
exclude = [
|
2022-05-23 16:01:38 -04:00
|
|
|
# To keep the package under the 10mb limit imposed by crates.io we exclude
|
|
|
|
# a lot of files that are not needed for the build.
|
|
|
|
"*.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/",
|
2024-08-07 06:17:50 -04:00
|
|
|
"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/",
|
2022-05-23 16:01:38 -04:00
|
|
|
"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/",
|
2024-08-07 06:17:50 -04:00
|
|
|
"third_party/icu/source/test/",
|
2022-05-23 16:01:38 -04:00
|
|
|
"third_party/icu/source/tools/",
|
|
|
|
"third_party/icu/tzres/",
|
2023-08-09 10:30:57 -04:00
|
|
|
"third_party/abseil-cpp/*.def",
|
2022-05-23 16:01:38 -04:00
|
|
|
"tools/clang",
|
|
|
|
"v8/ChangeLog",
|
|
|
|
"v8/benchmarks/",
|
|
|
|
"v8/docs/",
|
|
|
|
"v8/samples/",
|
|
|
|
"v8/test/",
|
|
|
|
"v8/tools/",
|
|
|
|
# These files are required for the build.
|
|
|
|
"!.gn",
|
|
|
|
"!BUILD.gn",
|
|
|
|
"!tools/clang/scripts/update.py",
|
|
|
|
"!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",
|
2019-11-19 17:48:50 -05:00
|
|
|
]
|
2019-10-07 19:56:41 -04:00
|
|
|
|
2024-04-12 17:26:06 -04:00
|
|
|
[profile.dev]
|
|
|
|
# rusty_v8 may miscompile at opt-level=0.
|
|
|
|
# https://github.com/rust-lang/rust/issues/87215
|
|
|
|
# https://github.com/rust-lang/rust/issues/75839
|
|
|
|
# https://github.com/rust-lang/rust/issues/121028
|
|
|
|
opt-level = 1
|
|
|
|
|
2022-03-16 11:20:09 -04:00
|
|
|
[features]
|
|
|
|
default = ["use_custom_libcxx"]
|
|
|
|
use_custom_libcxx = []
|
|
|
|
|
2019-11-15 12:57:34 -05:00
|
|
|
[dependencies]
|
2024-06-05 20:22:42 -04:00
|
|
|
bitflags = "2.5"
|
2023-12-08 18:34:34 -05:00
|
|
|
once_cell = "1.19"
|
2024-06-27 11:29:46 -04:00
|
|
|
paste = "1.0"
|
2019-11-15 12:57:34 -05:00
|
|
|
|
2019-10-15 21:31:05 -04:00
|
|
|
[build-dependencies]
|
2024-03-15 19:30:37 -04:00
|
|
|
miniz_oxide = "0.7.2"
|
|
|
|
gzip-header = "1.0.0"
|
2023-12-08 18:34:34 -05:00
|
|
|
fslock = "0.2"
|
2024-06-05 20:22:42 -04:00
|
|
|
which = "6"
|
2024-03-15 18:16:44 -04:00
|
|
|
home = "0"
|
2024-10-09 18:08:57 -04:00
|
|
|
bindgen = "0.70"
|
2019-12-22 10:22:44 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-06-05 20:22:42 -04:00
|
|
|
miniz_oxide = "0.7.3"
|
2024-03-15 19:30:37 -04:00
|
|
|
gzip-header = "1.0.0"
|
2023-10-02 14:08:51 -04:00
|
|
|
bytes = "1"
|
2021-02-12 05:45:02 -05:00
|
|
|
align-data = "0.1.0"
|
2023-12-08 18:34:34 -05:00
|
|
|
fslock = "0.2"
|
2024-06-05 20:22:42 -04:00
|
|
|
trybuild = "1.0.96"
|
|
|
|
which = "6"
|
2024-03-15 18:16:44 -04:00
|
|
|
home = "0"
|
2024-04-12 17:26:06 -04:00
|
|
|
rustversion = "1"
|
2024-10-09 18:08:57 -04:00
|
|
|
bindgen = "0.70"
|
2020-10-16 11:15:16 -04:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "hello_world"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "shell"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "process"
|
2022-01-04 15:32:48 -05:00
|
|
|
|
2022-05-23 15:58:47 -04:00
|
|
|
[[test]]
|
2022-06-14 18:26:50 -04:00
|
|
|
name = "build"
|
2022-05-23 15:58:47 -04:00
|
|
|
path = "build.rs"
|
|
|
|
|
2022-09-20 09:24:44 -04:00
|
|
|
[[bench]]
|
|
|
|
name = "function"
|
|
|
|
path = "benches/function.rs"
|
|
|
|
harness = false
|
|
|
|
|
2022-01-19 05:39:07 -05:00
|
|
|
[workspace]
|
2022-05-23 16:01:38 -04:00
|
|
|
members = ["examples/android"]
|