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

Enabling runtime-tokio adds unnecessary dependencies #36

Open
negezor opened this issue Feb 12, 2025 · 0 comments
Open

Enabling runtime-tokio adds unnecessary dependencies #36

negezor opened this issue Feb 12, 2025 · 0 comments

Comments

@negezor
Copy link
Contributor

negezor commented Feb 12, 2025

Description

Enabling runtime-tokio feature adds all optional dependencies specified for runtime

Steps to Reproduce

sea-streamer = { version = "0.5.0", default-features = false, features = [
    "kafka",
    "socket",
    "runtime-tokio",
    "json",
] }

Expected Behavior

Presence of only specified dependencies in features

Actual Behavior

[[package]]
name = "sea-streamer"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b85ee94bfb9b6e4e912a38186371cf02e70a785e2e939c86f98220180b4c4baf"
dependencies = [
 "sea-streamer-kafka",
+ "sea-streamer-redis",
 "sea-streamer-runtime",
 "sea-streamer-socket",
 "sea-streamer-types",
]

[[package]]
name = "sea-streamer-socket"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5b0a9931812d0c3b474ada5568557cca2fb735160881b8a75f31fc09398ead1"
dependencies = [
+ "sea-streamer-file",
 "sea-streamer-kafka",
+ "sea-streamer-redis",
 "sea-streamer-stdio",
 "sea-streamer-types",
 "thiserror",
]

Reproduces How Often

Always

Versions

├── sea-streamer v0.5.0
│   ├── sea-streamer-kafka v0.5.0
│   │   ├── sea-streamer-runtime v0.5.0
│   │   └── sea-streamer-types v0.5.2
│   ├── sea-streamer-socket v0.5.2
│   │   ├── sea-streamer-kafka v0.5.0 (*)
│   │   ├── sea-streamer-stdio v0.5.0
│   │   │   ├── sea-streamer-runtime v0.5.0 (*)
│   │   │   ├── sea-streamer-types v0.5.2 (*)
│   │   ├── sea-streamer-types v0.5.2 (*)
│   └── sea-streamer-types v0.5.2 (*)
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

No branches or pull requests

1 participant