Skip to content

Commit

Permalink
Include imgui/misc/freetype/ in crate package
Browse files Browse the repository at this point in the history
Required for "--features freetype" to work when using via crates.io

Closes #594
Closes #589
  • Loading branch information
dbr authored and sanbox-irl committed Feb 20, 2022
1 parent a7bd812 commit 155e758
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion imgui-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,18 @@ categories = ["gui", "external-ffi-bindings"]
build = "build.rs"
links = "imgui"
# exclude json, lua, and the imgui subdirs (imgui/examples, imgui/docs, etc)
exclude = ["third-party/*.json", "third-party/*.lua", "third-party/imgui/*/"]
# ..but we need imgui/misc/freetype/ for the freetype feature
exclude = [
"third-party/*.json",
"third-party/*.lua",
"third-party/imgui/backends/",
"third-party/imgui/docs/",
"third-party/imgui/examples/",
"third-party/imgui/misc/cpp/",
"third-party/imgui/misc/debuggers/",
"third-party/imgui/misc/fonts/",
"third-party/imgui/misc/single_file/",
]

[dependencies]
chlorine = "1.0.7"
Expand Down

0 comments on commit 155e758

Please sign in to comment.