Skip to content

Commit

Permalink
Upgrade to the Rust 2021 edition (#449)
Browse files Browse the repository at this point in the history
* upgraded to the 2021 edition
  • Loading branch information
Oliver E. Anderson authored Nov 4, 2021
1 parent cf60d0d commit 8f90176
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ The individual libraries are developed to be agnostic about the utilized [Distri

## Prerequisites

- [Rust](https://www.rust-lang.org/) (>= 1.51)
- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.51)
- [Rust](https://www.rust-lang.org/) (>= 1.56.1)
- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.56.0)

## Getting Started

Expand Down Expand Up @@ -78,7 +78,7 @@ cargo doc --document-private-items --no-deps --open
[package]
name = "iota_identity_example"
version = "1.0.0"
edition = "2018"
edition = "2021"

[dependencies]
identity = { git = "https://github.com/iotaledger/identity.rs", branch = "main", features = ["account"]}
Expand Down
2 changes: 1 addition & 1 deletion bindings/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-wasm"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity", "wasm"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "examples"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion identity-account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-account"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity-comm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-comm"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-core"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity-credential/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-credential"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity-did/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-did"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity-diff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-diff"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity-iota/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "identity-iota"
version = "0.4.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "identity"
version = "0.4.0"
authors = ["IOTA Stiftung"]
documentation = "https://wiki.iota.org/identity.rs/introduction"
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity", "did"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion libjose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "libjose"
version = "0.1.0"
authors = ["IOTA Stiftung"]
edition = "2018"
edition = "2021"
homepage = "https://www.iota.org"
keywords = ["iota", "tangle", "identity", "jose", "jwa", "jwe", "jwk", "jwm", "jws", "jwt"]
license = "Apache-2.0"
Expand Down

0 comments on commit 8f90176

Please sign in to comment.