-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (102 loc) · 3.89 KB
/
Cargo.toml
File metadata and controls
107 lines (102 loc) · 3.89 KB
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
[package]
name = "nova_vm"
repository = "https://github.com/trynova/nova/tree/main/nova_vm"
description = "Nova Virtual Machine"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
[dependencies]
ahash = { workspace = true }
ecmascript_atomics = { workspace = true, optional = true }
ecmascript_futex = { workspace = true, optional = true }
fast-float = { workspace = true }
hashbrown = { workspace = true }
lexical = { workspace = true }
num-bigint = { workspace = true }
num-traits = { workspace = true }
oxc_allocator = { workspace = true }
oxc_ast = { workspace = true }
oxc_diagnostics = { workspace = true }
oxc_ecmascript = { workspace = true }
oxc_parser = { workspace = true }
oxc_regular_expression = { workspace = true }
oxc_semantic = { workspace = true }
oxc_span = { workspace = true }
oxc_syntax = { workspace = true }
rand = { workspace = true }
regex = { workspace = true }
ryu-js = { workspace = true }
small_string = { path = "../small_string", version = "0.2.0" }
soavec = { workspace = true }
soavec_derive = { workspace = true }
sonic-rs = { workspace = true, optional = true }
unicode-normalization = { workspace = true }
usdt = { workspace = true }
wtf8 = { workspace = true }
temporal_rs = { workspace = true, optional = true }
[features]
default = [
"math",
"json",
"date",
"array-buffer",
"shared-array-buffer",
"weak-refs",
"atomics",
"regexp",
"set",
"annex-b",
"temporal",
]
array-buffer = ["ecmascript_atomics"]
atomics = ["array-buffer", "shared-array-buffer", "ecmascript_atomics", "ecmascript_futex"]
date = []
json = ["dep:sonic-rs"]
math = []
regexp = []
shared-array-buffer = ["array-buffer", "ecmascript_atomics"]
weak-refs = []
set = []
typescript = []
temporal = ["temporal_rs"]
# Enables features defined by [Annex B](https://tc39.es/ecma262/#sec-additional-ecmascript-features-for-web-browsers)
annex-b = ["annex-b-string", "annex-b-global", "annex-b-date", "annex-b-regexp"]
# Adds the additional properties to the global object as defined by Annex B section [B.2.1](https://tc39.es/ecma262/#sec-additional-properties-of-the-global-object)
annex-b-global = []
# Adds the additional properties to the string prototype as defined by Annex B section [B.2.2](https://tc39.es/ecma262/#sec-additional-properties-of-the-string.prototype-object)
annex-b-string = []
# Adds the additional properties to the date prototype as defined by Annex B section [B.2.3](https://tc39.es/ecma262/#sec-additional-properties-of-the-date.prototype-object)
annex-b-date = ["date"]
# Adds the additional properties and syntax to regular expressions as defined by Annex B section:
# - [B.1.2](https://tc39.es/ecma262/#sec-regular-expressions-patterns)
# - [B.2.4](https://tc39.es/ecma262/#sec-additional-properties-of-the-regexp.prototype-object)
annex-b-regexp = ["regexp"]
# Enables all currently supported proposals
proposals = [
"proposal-float16array",
"proposal-math-sum",
"proposal-math-clamp",
"proposal-is-error",
"proposal-atomics-microwait",
"proposal-temporal",
]
# Enables the [Float16Array proposal](https://tc39.es/proposal-float16array/)
proposal-float16array = ["array-buffer"]
# Enables the [Math.sumPrecise proposal](https://tc39.es/proposal-math-sum/)
proposal-math-sum = ["math"]
# Enables the [Math.clamp proposal](https://tc39.es/proposal-math-clamp/)
proposal-math-clamp = ["math"]
# Enables the [Error.isError proposal](https://tc39.es/proposal-is-error/)
proposal-is-error = []
# Enables the [Atomics.pause proposal](https://tc39.es/proposal-atomics-microwait/)
proposal-atomics-microwait = ["atomics"]
# Enable the [Temporal proposal](https://tc39.es/proposal-temporal/)
proposal-temporal = ["temporal"]
[build-dependencies]
small_string = { path = "../small_string", version = "0.2.0" }
usdt = { workspace = true }