Skip to content

Commit

Permalink
Merge pull request #460 from tox-rs/rust2021
Browse files Browse the repository at this point in the history
chore(rust): use 2021 edition
  • Loading branch information
kurnevsky authored Nov 13, 2021
2 parents c7e7813 + 76d2d32 commit c1a2844
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
rust:
- stable
- 1.51.0
- 1.56.1
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
version: '0.10.2'
version: '0.18.5'
args: '-o Lcov -- --test-threads 1'
- name: Run Coveralls
uses: coverallsapp/github-action@master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ issue / pull request should be filled on the reference repository.
[CONTRIBUTING.md](/CONTRIBUTING.md).

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

Then you can build the debug version with
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "examples"
version = "0.0.0"
publish = false
edition = "2018"
edition = "2021"

[dev-dependencies]
tox_binary_io = { version = "0.1.1", path = "../tox_binary_io", features = ["crypto"] }
Expand Down
2 changes: 1 addition & 1 deletion tox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repository = "https://github.com/tox-rs/tox/"
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
categories = ["multimedia"]
license = "GPL-3.0+"
edition = "2018"
edition = "2021"

[badges]
travis-ci = { repository = "tox-rs/tox" }
Expand Down
2 changes: 1 addition & 1 deletion tox_binary_io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "I/O traits for tox"
documentation = "https://docs.rs/tox_binary_io/"
repository = "https://github.com/tox-rs/tox/"
license = "GPL-3.0+"
edition = "2018"
edition = "2021"

[dependencies]
nom = "7.0"
Expand Down
2 changes: 1 addition & 1 deletion tox_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
categories = ["multimedia"]
license = "GPL-3.0+"
edition = "2018"
edition = "2021"

[dependencies]
tox_binary_io = { version = "0.1.1", path = "../tox_binary_io" }
Expand Down
2 changes: 1 addition & 1 deletion tox_crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
keywords = ["tox", "toxcore", "crypto"]
categories = ["multimedia"]
license = "GPL-3.0+"
edition = "2018"
edition = "2021"

[dependencies]
crypto_box = "0.7"
2 changes: 1 addition & 1 deletion tox_encryptsave/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
categories = ["multimedia"]
license = "GPL-3.0+"
edition = "2018"
edition = "2021"

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

Expand Down
2 changes: 1 addition & 1 deletion tox_packet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository = "https://github.com/tox-rs/tox/"
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
categories = ["multimedia"]
license = "GPL-3.0+"
edition = "2018"
edition = "2021"

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

Expand Down

0 comments on commit c1a2844

Please sign in to comment.