Merge pull request #673 from dbr/freetypecratebugport

Restoring "Include imgui/misc/freetype/ in crate package" from 0.8.x release
This commit is contained in:
dbr/Ben 2022-11-22 17:00:01 +10:30 committed by GitHub
commit 4f3e6b02ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"