Skip to content

Commit

Permalink
Specify to use resolver 2 for the workspace
Browse files Browse the repository at this point in the history
Specify to use `resolver=2` for the workspace to remove the warning
displayed by `Cargo` that it defaults to 1 even when the members are
setting it to 2.
  • Loading branch information
jsdanielh committed Feb 21, 2024
1 parent 96ff281 commit 33ff627
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
[workspace]
members = [
"client",
"core",
"derive",
"server",

"examples/basic_auth",
"examples/hello_world",
"examples/pubsub",
"client",
"core",
"derive",
"server",
"examples/basic_auth",
"examples/hello_world",
"examples/pubsub",
]

resolver = "2"

[workspace.package]
version = "0.1.0"
authors = ["Janosch Gräf <[email protected]>", "The Nimiq Core Development Team <[email protected]>"]
edition = "2021"
homepage = "https://nimiq.com"
repository = "https://github.com/nimiq/jsonrpc"
license = "Apache-2.0"
categories = [
"asynchronous",
"network-programming",
"web-programming::http-client",
"web-programming::http-server",
"web-programming::websocket"
"asynchronous",
"network-programming",
"web-programming::http-client",
"web-programming::http-server",
"web-programming::websocket",
]
edition = "2021"
homepage = "https://nimiq.com"
keywords = ["json", "jsonrpc", "json-rpc", "nimiq", "rpc"]
license = "Apache-2.0"
repository = "https://github.com/nimiq/jsonrpc"
version = "0.1.0"

[workspace.dependencies]
nimiq-jsonrpc-client = { path = "client" }
nimiq-jsonrpc-core = { path = "core" }
nimiq-jsonrpc-derive = { path = "derive" }
nimiq-jsonrpc-server = { path = "server" }
nimiq-jsonrpc-client = {path = "client"}
nimiq-jsonrpc-core = {path = "core"}
nimiq-jsonrpc-derive = {path = "derive"}
nimiq-jsonrpc-server = {path = "server"}

0 comments on commit 33ff627

Please sign in to comment.