Open smallB007 opened 3 years ago
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.
Would the issue reported by me be sorted by this: https://github.com/gyscos/cursive/issues/536
I suppose indeed, publishing a new version of cursive_table_view
compatible with cursive 0.16 may have fixed the issue.
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