Include imgui/misc/freetype/ in crate package

Required for "--features freetype" to work when using via crates.io

Closes #594
Closes #589
This commit is contained in:
dbr 2022-01-05 14:35:02 +11:00
parent 45c2d28ced
commit c017353ece

View File

@ -10,8 +10,20 @@ license = "MIT/Apache-2.0"
categories = ["gui", "external-ffi-bindings"]
build = "build.rs"
links = "imgui"
# exclude .json, .lua from imgui dirs - they are intermediate artifacts from cimgui generator
exclude = ["third-party/imgui-*/*.json", "third-party/imgui-*/*.lua"]
# exclude json, lua, and the imgui subdirs (imgui/examples, imgui/docs, etc)
# ..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"