rusty_v8/Cargo.toml

134 lines
2.9 KiB
TOML
Raw Normal View History

2019-10-07 23:56:41 +00:00
[package]
2021-10-27 12:32:12 +00:00
name = "v8"
2024-06-27 17:49:55 +00:00
version = "0.95.0"
description = "Rust bindings to V8"
readme = "README.md"
authors = ["the Deno authors"]
license = "MIT"
edition = "2021"
repository = "https://github.com/denoland/rusty_v8"
exclude = [
2022-05-23 20:01:38 +00: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/",
"buildtools/third_party/libc++/trunk/benchmarks/",
"buildtools/third_party/libc++/trunk/docs/",
"buildtools/third_party/libc++/trunk/lib/",
"buildtools/third_party/libc++/trunk/test/",
"buildtools/third_party/libc++/trunk/utils/",
"buildtools/third_party/libc++/trunk/www/",
"buildtools/third_party/libc++abi/trunk/test/",
"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/tools/",
"third_party/icu/tzres/",
"third_party/abseil-cpp/*.def",
2022-05-23 20:01:38 +00: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-10-07 23:56:41 +00: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
[features]
default = ["use_custom_libcxx"]
use_custom_libcxx = []
[dependencies]
2024-06-06 00:22:42 +00:00
bitflags = "2.5"
2023-12-08 23:34:34 +00:00
once_cell = "1.19"
paste = "1.0"
2019-10-16 01:31:05 +00:00
[build-dependencies]
miniz_oxide = "0.7.2"
gzip-header = "1.0.0"
2023-12-08 23:34:34 +00:00
fslock = "0.2"
2024-06-06 00:22:42 +00:00
which = "6"
home = "0"
bindgen = "0.69"
[dev-dependencies]
2024-06-06 00:22:42 +00:00
miniz_oxide = "0.7.3"
gzip-header = "1.0.0"
bytes = "1"
2021-02-12 10:45:02 +00:00
align-data = "0.1.0"
2023-12-08 23:34:34 +00:00
fslock = "0.2"
2024-06-06 00:22:42 +00:00
trybuild = "1.0.96"
which = "6"
home = "0"
rustversion = "1"
bindgen = "0.69"
2020-10-16 15:15:16 +00:00
[[example]]
name = "hello_world"
[[example]]
name = "shell"
[[example]]
name = "process"
[[test]]
name = "build"
path = "build.rs"
[[bench]]
name = "function"
path = "benches/function.rs"
harness = false
[workspace]
2022-05-23 20:01:38 +00:00
members = ["examples/android"]