File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repository = "https://github.com/rust-num/num-derive"
11
11
version = " 0.3.3"
12
12
readme = " README.md"
13
13
exclude = [" /bors.toml" , " /ci/*" , " /.github/*" ]
14
- edition = " 2018 "
14
+ edition = " 2021 "
15
15
rust-version = " 1.56.0"
16
16
17
17
[dependencies ]
@@ -28,13 +28,21 @@ name = "num_derive"
28
28
proc-macro = true
29
29
test = false
30
30
31
- # Most of the tests are left implicily detected, compiled for Rust 2018 ,
32
- # but let's try a few of them with the old 2015 edition too.
31
+ # Most of the tests are left implicily detected, compiled for Rust 2021 ,
32
+ # but let's try a few of them with the older editions too.
33
33
34
34
[[test ]]
35
35
name = " newtype-2015"
36
36
edition = " 2015"
37
37
38
+ [[test ]]
39
+ name = " newtype-2018"
40
+ edition = " 2018"
41
+
38
42
[[test ]]
39
43
name = " trivial-2015"
40
44
edition = " 2015"
45
+
46
+ [[test ]]
47
+ name = " trivial-2018"
48
+ edition = " 2018"
Original file line number Diff line number Diff line change
1
+ // Same source, just compiled for 2018 edition
2
+ include ! ( "newtype.rs" ) ;
Original file line number Diff line number Diff line change
1
+ // Same source, just compiled for 2018 edition
2
+ include ! ( "trivial.rs" ) ;
You can’t perform that action at this time.
0 commit comments