-
Notifications
You must be signed in to change notification settings - Fork 173
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
Crate restructuring #590
Merged
Merged
Crate restructuring #590
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
cb3e37d
Nuke V2
maciejhirsz 09ceb90
fmt
maciejhirsz 714ce5d
Formatting and imports
maciejhirsz 4d79729
Merge branch 'master' of github.com:paritytech/jsonrpsee into mh-cleanup
maciejhirsz 22dd3a7
Updated benches
maciejhirsz 6bb0224
Fix doc comment link
maciejhirsz bc22ac2
Brace imports in ws-server
maciejhirsz 392daa7
Reworking imports
maciejhirsz a9c37fa
Merge branch 'master' of github.com:paritytech/jsonrpsee into mh-cleanup
maciejhirsz 57bdf5a
std first
maciejhirsz e24f12d
fmt
maciejhirsz e59732f
std on top
maciejhirsz 4f32c88
Update to match changed line numbers
maciejhirsz 3ec6e62
Merge branch 'master' of github.com:paritytech/jsonrpsee into mh-cleanup
maciejhirsz f2f5315
Rename jsonrpsee_utils -> jsonrpsee_core
maciejhirsz e29bdec
Migrating things types -> core
maciejhirsz faa0da1
RpcError -> ErrorResponse
maciejhirsz a9567f0
Merge types::client into core::client
maciejhirsz f914dca
Continued move types -> core
maciejhirsz 6c15874
Removing features to make checks pass
maciejhirsz 7ed2316
Move rpc_module tests to tests crate
maciejhirsz 1d09ee4
Merge branch 'master' of github.com:paritytech/jsonrpsee into mh-cleanup
maciejhirsz dc4ab02
Fixed doc comment links
maciejhirsz 394a3c2
Add futures-util dependency for client
maciejhirsz c38ec76
Remove dead code
maciejhirsz e93c2d9
fmt
maciejhirsz 51eec24
Feature gate the Client trait
maciejhirsz 9a88c70
Move `Client` traits to `client` module
maciejhirsz 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ members = [ | |
"jsonrpsee", | ||
"tests", | ||
"types", | ||
"utils", | ||
"core", | ||
"ws-client", | ||
"ws-server", | ||
"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
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 |
---|---|---|
@@ -1,44 +1,42 @@ | ||
[package] | ||
name = "jsonrpsee-utils" | ||
name = "jsonrpsee-core" | ||
version = "0.6.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Utilities for jsonrpsee" | ||
edition = "2018" | ||
license = "MIT" | ||
|
||
[dependencies] | ||
anyhow = "1" | ||
arrayvec = "0.7.1" | ||
async-trait = "0.1" | ||
beef = { version = "0.5.1", features = ["impl_serde"] } | ||
thiserror = { version = "1", optional = true } | ||
futures-channel = { version = "0.3.14", default-features = false, optional = true } | ||
thiserror = "1" | ||
futures-channel = { version = "0.3.14", default-features = false } | ||
futures-util = { version = "0.3.14", default-features = false, optional = true } | ||
hyper = { version = "0.14.10", default-features = false, features = ["stream"], optional = true } | ||
jsonrpsee-types = { path = "../types", version = "0.6.0", optional = true } | ||
hyper = { version = "0.14.10", default-features = false, features = ["stream"] } | ||
jsonrpsee-types = { path = "../types", version = "0.6.0" } | ||
tracing = { version = "0.1", optional = true } | ||
rustc-hash = { version = "1", optional = true } | ||
rand = { version = "0.8", optional = true } | ||
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } | ||
serde_json = { version = "1", features = ["raw_value"], optional = true } | ||
serde = { version = "1.0", default-features = false, features = ["derive"] } | ||
serde_json = { version = "1", features = ["raw_value"] } | ||
soketto = "0.7.1" | ||
parking_lot = { version = "0.11", optional = true } | ||
tokio = { version = "1.8", features = ["rt"], optional = true } | ||
|
||
[features] | ||
default = [] | ||
http-helpers = ["hyper", "futures-util", "jsonrpsee-types"] | ||
http-helpers = ["futures-util"] | ||
server = [ | ||
"thiserror", | ||
"futures-channel", | ||
"futures-util", | ||
"jsonrpsee-types", | ||
"rustc-hash", | ||
"serde", | ||
"serde_json", | ||
"tracing", | ||
"parking_lot", | ||
"rand", | ||
"tokio", | ||
] | ||
client = ["jsonrpsee-types"] | ||
client = ["futures-util"] | ||
|
||
[dev-dependencies] | ||
serde_json = "1.0" | ||
|
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
Oops, something went wrong.
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.
this crate is now what the
v2
was?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.
Correct