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

Dependency on tokio_test is missing in the crate #102

Open
graywolf opened this issue Feb 15, 2024 · 1 comment
Open

Dependency on tokio_test is missing in the crate #102

graywolf opened this issue Feb 15, 2024 · 1 comment

Comments

@graywolf
Copy link

Hello,

when I check the Cargo.toml file at v0.3.5 ( https://github.com/tokio-rs/async-stream/blob/v0.3.5/async-stream/Cargo.toml ), I see tokio_test in there:

tokio-test = "0.4"

However, crates.io does not list it: https://crates.io/crates/async-stream/0.3.5/dependencies

When I check the actual crate ( https://crates.io/api/v1/crates/async-stream/0.3.5/download ), the tokio_test is indeed not in the Cargo.toml.orig:

[dev-dependencies]
futures-util = "0.3"
rustversion = "1"
tokio = { version = "1", features = ["full"] }
trybuild = "1"

Sorry if this is a stupid question, I do not know rust much, but how was the crate generated? I would have assume it would match the source code at the git tag.

Thank you

@taiki-e
Copy link
Member

taiki-e commented Feb 15, 2024

I don't remember exactly what happened, but I suspect I could not publish without removing it due to circular dependencies.

https://github.com/tokio-rs/tokio/blob/b32826bc937a34e4d871c89bb2c3711ed3e20cdc/tokio-test/Cargo.toml#L22

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

2 participants