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

cyclic package dependency: package swagger-ui v0.1.5 depends on itself #11

Open
turboMaCk opened this issue Oct 22, 2023 · 0 comments
Open

Comments

@turboMaCk
Copy link

turboMaCk commented Oct 22, 2023

Hello. Thanks for providing this package.

When I was trying to use it I ran into this issue:

error: cyclic package dependency: package `swagger-ui v0.1.5` depends on itself. Cycle:
package `swagger-ui v0.1.5`
    ... which satisfies dependency `swagger-ui = "^0.1"` of package `rocket-swagger-ui v0.1.5`
    ... which satisfies dependency `rocket-swagger-ui = "^0.1"` of package `swagger-ui v0.1.5`
    ... which satisfies dependency `swagger-ui = "^0.1"` of package `my-crate v0.1.0`

This is my Cargo.toml:

swagger-ui = { version = "0.1", features = ["rocket"] }
$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/marek/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-2022-03-18-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.72.0-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (directory override for '...')
rustc 1.73.0 (cc66ad468 2023-10-03)
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