##// END OF EJS Templates
rust: move all crates in the main workspace to edition 2021...
Raphaël Gomès -
r50524:1b6be761 default
parent child Browse files
Show More
@@ -1,52 +1,52 b''
1 [package]
1 [package]
2 name = "hg-core"
2 name = "hg-core"
3 version = "0.1.0"
3 version = "0.1.0"
4 authors = ["Georges Racinet <gracinet@anybox.fr>"]
4 authors = ["Georges Racinet <gracinet@anybox.fr>"]
5 description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
5 description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
6 edition = "2018"
6 edition = "2021"
7
7
8 [lib]
8 [lib]
9 name = "hg"
9 name = "hg"
10
10
11 [dependencies]
11 [dependencies]
12 bitflags = "1.3.2"
12 bitflags = "1.3.2"
13 bytes-cast = "0.2.0"
13 bytes-cast = "0.2.0"
14 byteorder = "1.4.3"
14 byteorder = "1.4.3"
15 derive_more = "0.99.17"
15 derive_more = "0.99.17"
16 hashbrown = { version = "0.9.1", features = ["rayon"] }
16 hashbrown = { version = "0.9.1", features = ["rayon"] }
17 home = "0.5.3"
17 home = "0.5.3"
18 im-rc = "15.0"
18 im-rc = "15.0"
19 itertools = "0.10.3"
19 itertools = "0.10.3"
20 lazy_static = "1.4.0"
20 lazy_static = "1.4.0"
21 libc = "0.2"
21 libc = "0.2"
22 ouroboros = "0.15.0"
22 ouroboros = "0.15.0"
23 rand = "0.8.4"
23 rand = "0.8.4"
24 rand_pcg = "0.3.1"
24 rand_pcg = "0.3.1"
25 rand_distr = "0.4.3"
25 rand_distr = "0.4.3"
26 rayon = "1.5.1"
26 rayon = "1.5.1"
27 regex = "1.5.5"
27 regex = "1.5.5"
28 sha-1 = "0.10.0"
28 sha-1 = "0.10.0"
29 twox-hash = "1.6.2"
29 twox-hash = "1.6.2"
30 same-file = "1.0.6"
30 same-file = "1.0.6"
31 tempfile = "3.1.0"
31 tempfile = "3.1.0"
32 thread_local = "1.1.4"
32 thread_local = "1.1.4"
33 crossbeam-channel = "0.5.0"
33 crossbeam-channel = "0.5.0"
34 micro-timer = "0.4.0"
34 micro-timer = "0.4.0"
35 log = "0.4.8"
35 log = "0.4.8"
36 memmap2 = { version = "0.5.3", features = ["stable_deref_trait"] }
36 memmap2 = { version = "0.5.3", features = ["stable_deref_trait"] }
37 zstd = "0.5.3"
37 zstd = "0.5.3"
38 format-bytes = "0.3.0"
38 format-bytes = "0.3.0"
39 # once_cell 1.15 uses edition 2021, while the heptapod CI
39 # once_cell 1.15 uses edition 2021, while the heptapod CI
40 # uses an old version of Cargo that doesn't support it.
40 # uses an old version of Cargo that doesn't support it.
41 once_cell = "1.14.0"
41 once_cell = "1.14.0"
42
42
43 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
43 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
44 # we have a clearer view of which backend is the fastest.
44 # we have a clearer view of which backend is the fastest.
45 [dependencies.flate2]
45 [dependencies.flate2]
46 version = "1.0.22"
46 version = "1.0.22"
47 features = ["zlib"]
47 features = ["zlib"]
48 default-features = false
48 default-features = false
49
49
50 [dev-dependencies]
50 [dev-dependencies]
51 clap = "2.34.0"
51 clap = "2.34.0"
52 pretty_assertions = "1.1.0"
52 pretty_assertions = "1.1.0"
@@ -1,19 +1,19 b''
1 [package]
1 [package]
2 name = "hg-cpython"
2 name = "hg-cpython"
3 version = "0.1.0"
3 version = "0.1.0"
4 authors = ["Georges Racinet <gracinet@anybox.fr>"]
4 authors = ["Georges Racinet <gracinet@anybox.fr>"]
5 edition = "2018"
5 edition = "2021"
6
6
7 [lib]
7 [lib]
8 name='rusthg'
8 name='rusthg'
9 crate-type = ["cdylib"]
9 crate-type = ["cdylib"]
10
10
11 [dependencies]
11 [dependencies]
12 cpython = { version = "0.7.0", features = ["extension-module"] }
12 cpython = { version = "0.7.0", features = ["extension-module"] }
13 crossbeam-channel = "0.5.2"
13 crossbeam-channel = "0.5.2"
14 hg-core = { path = "../hg-core"}
14 hg-core = { path = "../hg-core"}
15 libc = "0.2.119"
15 libc = "0.2.119"
16 log = "0.4.14"
16 log = "0.4.14"
17 env_logger = "0.9.0"
17 env_logger = "0.9.0"
18 stable_deref_trait = "1.2.0"
18 stable_deref_trait = "1.2.0"
19 vcsgraph = "0.2.0"
19 vcsgraph = "0.2.0"
@@ -1,25 +1,25 b''
1 [package]
1 [package]
2 name = "rhg"
2 name = "rhg"
3 version = "0.1.0"
3 version = "0.1.0"
4 authors = [
4 authors = [
5 "Antoine Cezar <antoine.cezar@octobus.net>",
5 "Antoine Cezar <antoine.cezar@octobus.net>",
6 "Raphaël Gomès <raphael.gomes@octobus.net>",
6 "Raphaël Gomès <raphael.gomes@octobus.net>",
7 ]
7 ]
8 edition = "2018"
8 edition = "2021"
9
9
10 [dependencies]
10 [dependencies]
11 atty = "0.2.14"
11 atty = "0.2.14"
12 hg-core = { path = "../hg-core"}
12 hg-core = { path = "../hg-core"}
13 chrono = "0.4.19"
13 chrono = "0.4.19"
14 clap = "2.34.0"
14 clap = "2.34.0"
15 derive_more = "0.99.17"
15 derive_more = "0.99.17"
16 home = "0.5.3"
16 home = "0.5.3"
17 lazy_static = "1.4.0"
17 lazy_static = "1.4.0"
18 log = "0.4.14"
18 log = "0.4.14"
19 micro-timer = "0.4.0"
19 micro-timer = "0.4.0"
20 regex = "1.5.5"
20 regex = "1.5.5"
21 env_logger = "0.9.0"
21 env_logger = "0.9.0"
22 format-bytes = "0.3.0"
22 format-bytes = "0.3.0"
23 users = "0.11.0"
23 users = "0.11.0"
24 which = "4.2.5"
24 which = "4.2.5"
25 rayon = "1.5.1"
25 rayon = "1.5.1"
General Comments 0
You need to be logged in to leave comments. Login now