Skip to content
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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

Razz4780
Copy link
Contributor

No description provided.

@@ -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"
Copy link
Member

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?

Copy link
Contributor Author

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 😅

Copy link
Member

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]
Copy link
Member

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 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this doc!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants