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

Mysql 21.0.2 incompatible with poem-openapi 1.0.31 #300

Open
Christoph-AK opened this issue Nov 30, 2021 · 2 comments
Open

Mysql 21.0.2 incompatible with poem-openapi 1.0.31 #300

Christoph-AK opened this issue Nov 30, 2021 · 2 comments

Comments

@Christoph-AK
Copy link

Hey there,
I would like to use Poem with Mysql, but they seem to be using incompatible bitvec / funty versions. On build I get a error[E0034]: multiple applicable items in scope --> C:\Users\local\.cargo\registry\src\github.com-1ecc6299db9ec823\bitvec-0.19.4\src\field.rs:307:25.

This problem seems to be known in funty and can apparently be solved by updating all dependencies to funty 2.0.0 (or at least the same version.) Unfortunately it is nested quite deeply in the dependencies.

Example Toml, full build output, and cargo tree output uploaded here: https://gist.github.com/Christoph-AK/366e6c39c24976d5bf48064e658b6670

Can this be solved from this crate?

@Christoph-AK
Copy link
Author

Issue in Poem: (HAH, I got the 300 here and the 100 in Poem 🥳😅) poem-web/poem#100

@Christoph-AK
Copy link
Author

Sunli, the author of poem, fortunately provided a fix quickly, rewriting poem so it no longer depends on funty.

In the long run this should probably be kept an eye on. As far as I can see mysql_common depends on bitvec, which uses an old Version of funty in the current stable. In the upcoming bitvec 1.0.0 this will be replaced with a expected-working version funty 2.0.0. https://docs.rs/bitvec/1.0.0-rc1/bitvec/index.html

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