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

Cursive_Table_View doesn't build with cursive #537

Open
smallB007 opened this issue Jan 20, 2021 · 3 comments
Open

Cursive_Table_View doesn't build with cursive #537

smallB007 opened this issue Jan 20, 2021 · 3 comments

Comments

@smallB007
Copy link
Contributor

This setup in Cargo.toml doesn't work, I'm getting error saying that probably two versions of cursive_core are used:

[dependencies]
cursive = {git="https://github.com/gyscos/cursive.git",branch="main"}
cursive_table_view = "*"

Best Regards

@gyscos
Copy link
Owner

gyscos commented Jan 20, 2021

Yeah it's not easy to combine git dependencies with dependencies from crates.io, since cargo isn't sure that they are compatible.

I think if you give a version to cursive in addition to the git value, it might help, but there's a chance you'll need to use the cursive from crates.io as well.

You might be able to patch the dependencies (see the documentation):

[dependencies]
cursive = "0.16"
cursive_table_view = "0.13"

[patch.crates-io]
cursive = {git="https://github.com/gyscos/cursive.git",branch="main"}

Haven't tested it though.

@smallB007
Copy link
Contributor Author

Would the issue reported by me be sorted by this: #536

@gyscos
Copy link
Owner

gyscos commented Jan 21, 2021

I suppose indeed, publishing a new version of cursive_table_view compatible with cursive 0.16 may have fixed the issue.

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