-
Notifications
You must be signed in to change notification settings - Fork 107
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
Deny unused dependencies #2843
base: main
Are you sure you want to change the base?
Deny unused dependencies #2843
Conversation
@@ -56,8 +56,9 @@ categories = ["development-tools", "backend", "devtool"] | |||
[workspace.dependencies] | |||
actix-codec = "0.5" | |||
bincode = { version = "2.0.0-rc.2", features = ["serde"] } | |||
bytes = "1" | |||
tokio = { version = "1" } | |||
bytes = "1.7" |
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.
Why do we prefer to be specific?
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.
Hmm, not sure actually. Just my habit 😅
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.
I prefer the less specific, as we have lock anyway..
@@ -18,7 +18,7 @@ workspace = true | |||
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |||
|
|||
[dependencies] | |||
[target.'cfg(target_os = "linux")'.dependencies] |
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.
Nice!
@@ -14,3 +15,13 @@ pub mod credentials; | |||
pub mod error; | |||
/// Public/Private key abstraction for serialization and deserialization | |||
pub mod key_pair; | |||
|
|||
mod deps_required_for_compilation { |
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.
I love this doc!
No description provided.