forked from denoland/deno_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (75 loc) · 2 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
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
[workspace]
resolver = "2"
members = [
"core",
"ops",
"ops/compile_test_runner",
"serde_v8",
"testing",
]
[workspace.package]
authors = ["the Deno authors"]
edition = "2021"
license = "MIT"
repository = "https://github.com/denoland/deno_core"
[workspace.dependencies]
# Local dependencies
deno_core = { version = "0.242.0", path = "./core" }
deno_ops = { version = "0.118.0", path = "./ops" }
serde_v8 = { version = "0.151.0", path = "./serde_v8" }
v8 = { version = "0.82.0", default-features = false }
deno_ast = { version = "0.31.2", features = ["transpiling"] }
deno_unsync = "0.3.1"
anyhow = "1"
bencher = "0.1"
bit-set = "0"
bit-vec = "0"
bytes = "1.4.0"
cooked-waker = "5"
derive_more = "0.99.17"
fastrand = "2"
futures = "0.3.21"
libc = "0.2.126"
log = "0.4.17"
memoffset = ">=0.9"
num-bigint = { version = "0.4", features = ["rand"] }
parking_lot = "0.12.0"
pin-project = "1"
pretty_assertions = "1.3.0"
rand = "0.8.5"
prettyplease = "0.2.15"
rstest = "0"
serde = { version = "1", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1"
smallvec = "1.8"
sourcemap = "7"
static_assertions = "1"
strum = { version = "0.25.0", features = ["derive"] }
strum_macros = "0.25.0"
testing_macros = "0.2.11"
thiserror = "1"
tokio = { version = "1", features = ["full"] }
url = { version = "2", features = ["serde", "expose_internals"] }
# macros
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full", "extra-traits"] }
proc-macro-rules = "0.4.0"
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.release]
codegen-units = 1
incremental = true
lto = true
opt-level = 'z' # Optimize for size
# Build release with debug symbols: cargo build --profile=release-with-debug
[profile.release-with-debug]
inherits = "release"
debug = true
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.bench]
codegen-units = 1
incremental = true
lto = true
opt-level = 'z' # Optimize for size