Skip to content

Commit a12d2b8

Browse files
authored
Simplify and unify ordering in toml (#386)
1 parent 985b453 commit a12d2b8

File tree

2 files changed

+9
-47
lines changed

2 files changed

+9
-47
lines changed

mozjs/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ exclude = [
1616
]
1717
edition.workspace = true
1818

19-
[features]
20-
debugmozjs = []
21-
profilemozjs = []
22-
uwp = []
23-
jitspew = []
24-
2519
[lib]
2620
name = "mozjs_sys"
2721
# The generated jsapi.rs contains #[doc] strings which look like
2822
# doctests but are definitely not.
2923
doctest = false
3024

25+
[features]
26+
debugmozjs = []
27+
profilemozjs = []
28+
uwp = []
29+
jitspew = []
30+
3131
[dependencies]
3232
encoding_c = "0.9.8"
3333
encoding_c_mem = "0.2.6"

rust-mozjs/Cargo.toml

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,6 @@ build = "build.rs"
88
license.workspace = true
99
edition.workspace = true
1010

11-
[build-dependencies]
12-
cc.workspace = true
13-
14-
[[example]]
15-
name = "minimal"
16-
[[example]]
17-
name = "eval"
18-
19-
[[test]]
20-
name = "callback"
21-
[[test]]
22-
name = "capture_stack"
23-
[[test]]
24-
name = "custom_auto_rooter"
25-
[[test]]
26-
name = "custom_auto_rooter_macro"
27-
[[test]]
28-
name = "enumerate"
29-
[[test]]
30-
name = "evaluate"
31-
[[test]]
32-
name = "offthread"
33-
[[test]]
34-
name = "panic"
35-
[[test]]
36-
name = "property_descriptor"
37-
[[test]]
38-
name = "rooting"
39-
[[test]]
40-
name = "runtime"
41-
[[test]]
42-
name = "runtime_no_outlive"
43-
[[test]]
44-
name = "typedarray"
45-
[[test]]
46-
name = "typedarray_panic"
47-
[[test]]
48-
name = "stack_limit"
49-
[[test]]
50-
name = "vec_conversion"
51-
5211
[lib]
5312
doctest = false
5413

@@ -64,3 +23,6 @@ libc.workspace = true
6423
log = "0.4"
6524
num-traits = "0.2"
6625
mozjs_sys = { path = "../mozjs" }
26+
27+
[build-dependencies]
28+
cc.workspace = true

0 commit comments

Comments
 (0)