Skip to content

Commit c1a2844

Browse files
authored
Merge pull request #460 from tox-rs/rust2021
chore(rust): use 2021 edition
2 parents c7e7813 + 76d2d32 commit c1a2844

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
1515
rust:
1616
- stable
17-
- 1.51.0
17+
- 1.56.1
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: actions-rs/toolchain@v1
@@ -63,7 +63,7 @@ jobs:
6363
- name: Run cargo-tarpaulin
6464
uses: actions-rs/tarpaulin@v0.1
6565
with:
66-
version: '0.10.2'
66+
version: '0.18.5'
6767
args: '-o Lcov -- --test-threads 1'
6868
- name: Run Coveralls
6969
uses: coverallsapp/github-action@master

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ issue / pull request should be filled on the reference repository.
3030
[CONTRIBUTING.md](/CONTRIBUTING.md).
3131

3232
## Building
33-
Fairly simple. First, install [Rust] >= 1.51.0 and a C compiler ([Build Tools
33+
Fairly simple. First, install [Rust] >= 1.56.1 and a C compiler ([Build Tools
3434
for Visual Studio][VSBuild] on Windows, GCC or Clang on other platforms).
3535

3636
Then you can build the debug version with

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "examples"
33
version = "0.0.0"
44
publish = false
5-
edition = "2018"
5+
edition = "2021"
66

77
[dev-dependencies]
88
tox_binary_io = { version = "0.1.1", path = "../tox_binary_io", features = ["crypto"] }

tox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repository = "https://github.com/tox-rs/tox/"
1919
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
2020
categories = ["multimedia"]
2121
license = "GPL-3.0+"
22-
edition = "2018"
22+
edition = "2021"
2323

2424
[badges]
2525
travis-ci = { repository = "tox-rs/tox" }

tox_binary_io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "I/O traits for tox"
1212
documentation = "https://docs.rs/tox_binary_io/"
1313
repository = "https://github.com/tox-rs/tox/"
1414
license = "GPL-3.0+"
15-
edition = "2018"
15+
edition = "2021"
1616

1717
[dependencies]
1818
nom = "7.0"

tox_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
1414
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
1515
categories = ["multimedia"]
1616
license = "GPL-3.0+"
17-
edition = "2018"
17+
edition = "2021"
1818

1919
[dependencies]
2020
tox_binary_io = { version = "0.1.1", path = "../tox_binary_io" }

tox_crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
1414
keywords = ["tox", "toxcore", "crypto"]
1515
categories = ["multimedia"]
1616
license = "GPL-3.0+"
17-
edition = "2018"
17+
edition = "2021"
1818

1919
[dependencies]
2020
crypto_box = "0.7"

tox_encryptsave/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
1414
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
1515
categories = ["multimedia"]
1616
license = "GPL-3.0+"
17-
edition = "2018"
17+
edition = "2021"
1818

1919
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2020

tox_packet/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
1414
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
1515
categories = ["multimedia"]
1616
license = "GPL-3.0+"
17-
edition = "2018"
17+
edition = "2021"
1818

1919
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2020

0 commit comments

Comments
 (0)