This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
[requires]
build=[
"pkgconfig(libdeflate)"
]
lib=[
"pkgconfig(libdeflate)"
]
[package]
cargo-toml-patch-comments=[
"""\
Make the dependency on crate(pkg-config) non-optional instead of associating \
it with the “dynamic” feature, since we patch the crate to always link \
dynamically with the system libdeflate, regardless of the selected \
features.\
""",
]
[scripts.prep]
pre=[
'''
# Remove the bundled copy of libdeflate.
rm -rv libdeflate
# Make libdeflate detection with pkg-config unconditional.
sed -r -i 's@^([[:blank:]]*)(#\[cfg\(feature *= *"dynamic"\)\])@\1// \2@' build.rs
# Don’t require an exact version match. We would *like* the versions to stay
# aligned, but we don’t *need* to update libdeflate and