-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add support for providing version ranges to pkg-config #60
Comments
Which syntax should we use for this? The cargo or pkg-config one? |
Maybe something that you can parse directly into a range, so maybe just the Rust syntax? |
Wouldn't it make more sense to use the cargo syntax has it's in the same file? https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html |
Sure if you want to parse those to exact / at least / range |
You could use https://docs.rs/semver/latest/semver/ and then convert the result of that to one of the cases pkg-config understands. Converting the |
I'm working on this now |
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes gdesmott#60
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes gdesmott#60
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes gdesmott#60
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes gdesmott#60
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes gdesmott#60
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes gdesmott#60
This now supports expressions in the form * "1.2" or ">= 1.2" for at least version 1.2 * ">= 1.2, < 2.0" for at least version 1.2 and less than version 2.0 Fixes #60
This needs calling https://docs.rs/pkg-config/latest/pkg_config/struct.Config.html#method.range_version and some syntax for specifying this in
Cargo.toml
.The text was updated successfully, but these errors were encountered: