-
Notifications
You must be signed in to change notification settings - Fork 22
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
allow to define target specific dependencies #34
Conversation
Codecov Report
@@ Coverage Diff @@
## master #34 +/- ##
===========================================
- Coverage 91.23% 78.17% -13.06%
===========================================
Files 3 3
Lines 1699 2250 +551
===========================================
+ Hits 1550 1759 +209
- Misses 149 491 +342
Continue to review full report at Codecov.
|
This doesn't work so well for the use case of I think what would work better is to stick more closely to the syntax that Cargo uses for platform specific configurations. Something like the following would certainly be somewhat more complex, but afaics it should allow all sorts of platform-specific dependencies to be expressed:
|
I'd agree that supporting such |
Looks like there is a cfg!, I suppose we could use that to implement such feature. |
Actually |
860b08b
to
58766ef
Compare
58766ef
to
5f9670d
Compare
Wow, that's exactly the syntax that I proposed, and it seems to work nicely. That's awesome! 😍 I have updated the feature branch in librsvg with this solution. |
Great! It's been quite easy to implement actually, thanks to the I just released |
Thanks a lot! We are now using this in |
Fix #33