forked from denoland/rusty_v8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
116 lines (106 loc) · 2.54 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "v8"
version = "0.80.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 = [
# 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",
"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",
]
[features]
default = ["use_custom_libcxx"]
use_custom_libcxx = []
[dependencies]
bitflags = "1.3.2"
once_cell = "1.17.1"
[build-dependencies]
fslock = "0.1.8"
which = "4.2.5"
[dev-dependencies]
bytes = "1"
align-data = "0.1.0"
fslock = "0.1.8"
trybuild = "1.0.61"
which = "4.2.5"
[[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]
members = ["examples/android"]