-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: migrate to rust 2021 #618
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-benchmarks" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Benchmarks for jsonrpsee" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
publish = false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-http-client" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
description = "HTTP client for JSON-RPC" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-client-transport" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
description = "WebSocket client for JSON-RPC" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-ws-client" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
description = "WebSocket client for JSON-RPC" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-core" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Utilities for jsonrpsee" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-examples" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Examples for jsonrpsee" | ||
edition = "2018" | ||
edition = "2021" | ||
publish = false | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-http-server" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
description = "HTTP server for JSON-RPC" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ description = "JSON-RPC crate" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
license = "MIT" | ||
edition = "2018" | ||
edition = "2021" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
documentation = "https://docs.rs/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ description = "Procedueral macros for jsonrpsee" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
license = "MIT" | ||
edition = "2018" | ||
edition = "2021" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
documentation = "https://docs.rs/jsonrpsee-proc-macros" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
hard_tabs = true | ||
max_width = 120 | ||
use_small_heuristics = "Max" | ||
edition = "2018" | ||
edition = "2021" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-test-utils" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-integration-tests" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Integration tests for jsonrpsee" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
publish = false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-types" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Shared types for jsonrpsee" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "jsonrpsee-ws-server" | |
version = "0.6.1" | ||
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
description = "WebSocket server for JSON-RPC" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/paritytech/jsonrpsee" | ||
homepage = "https://github.com/paritytech/jsonrpsee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
required by https://doc.rust-lang.org/edition-guide/rust-2021/disjoint-capture-in-closures.html#wild-card-patterns