Skip to content

Commit

Permalink
Add the cargo-c metadata (#812)
Browse files Browse the repository at this point in the history
Fixes #592
  • Loading branch information
lu-zero authored Sep 3, 2024
1 parent e3f42ba commit c0777c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/c-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ system-fonts = ["resvg/system-fonts"]
# enables font files memmaping for faster loading (only for `text`)
memmap-fonts = ["resvg/memmap-fonts"]
raster-images = ["resvg/raster-images"]
capi = []

[package.metadata.capi.header]
generation = false

[package.metadata.capi.install.include]
asset = [{ from="resvg.h" }]

0 comments on commit c0777c7

Please sign in to comment.