Skip to content

Use semver instead of fixed minor ver for rust-embed #49

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anuraaga
Copy link

Also removes explicit dependency on rust-embed-impl, which is a transitive dependency of rust-embed (I couldn't find any references to it in this crate).

I am trying to use rust-vfs with a newer version of rust-embed but the 6.3.* specifier prevents this. Presumably this was meant to be a minimum version number, not hard lock, so I tried to change to the semver syntax for that.

@manuel-woelker
Copy link
Owner

Thanks for the PR! AFAICT this shouldn't cause any issues.

@manuel-woelker
Copy link
Owner

Looks like this this causes issues in rust-embed-utils when building with Rust 1.40.

I'm wondering if there's a clever way to keep building with an "old" rust-embed version, while allow more flexibility with regards to the version downstream projects use.

Although it might be time to lift the minimum required Rust version...

@anuraaga
Copy link
Author

anuraaga commented Apr 3, 2023

Sorry for the troubles - I looked through docs but wasn't able to find any mechanism to force the version to lower for tests in this repo, other than lock file which shouldn't be committed for libraries. I'm new to rust though so could be missing something

@manuel-woelker
Copy link
Owner

No problem, I'll have a look to figure out how to proceed on this. Thanks for checking!

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

Successfully merging this pull request may close these issues.

2 participants