Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd "build-native-harfbuzz" and "build-native-freetype" features #129
Conversation
- Declare default features "build-native-harfbuzz" and "build-native-freetype". - Make the pkg-config and cmake build-dependencies optional. - Make build.rs a no-op if "build-native-harfbuzz" is disabled. These changes allow the library to be used in projects where the native harfbuzz and freetype librares are built separately, and where cmake and pkg-config are not supported.
|
I think Please see the latest commit (68e2727), which reexports |
|
@bors-servo r+ |
|
|
Add "build-native-harfbuzz" and "build-native-freetype" features - Declare default features "build-native-harfbuzz" and "build-native-freetype". - Make the pkg-config and cmake build-dependencies optional. - Make build.rs a no-op if "build-native-harfbuzz" is disabled. These changes allow the library to be used in projects where the native harfbuzz and freetype librares are built separately, and where cmake and pkg-config are not supported. Depends on servo/rust-freetype#57. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/129) <!-- Reviewable:end -->
|
|
|
Thanks for accepting the PR! Do you know when the crate's next scheduled release is? |
|
It gets published whenever someone needs a new version published. I'll do that now. |
Release 0.3.1. This includes #126 and #127 which only add new APIs, and #129 which adds new features but uses them by default. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/130) <!-- Reviewable:end -->
|
I was wondering what the purpose of (Aside: Not to be too critical, but I think the feature name is a misnomer since no building is involved if |
kpozin commentedMar 5, 2019
•
edited by larsbergstrom
These changes allow the library to be used in projects where the native harfbuzz and freetype librares are built separately, and where cmake and pkg-config are not supported.
Depends on servo/rust-freetype#57.
This change is