[package]
name = "libheif-rs"
version = "0.20.0"
authors = ["Kirill Kuzminykh <cykooz@gmail.com>"]
edition = "2021"
description = "Safe wrapper around the libheif-sys crate for parsing heif/heic files"
readme = "README.md"
keywords = ["heic", "heif", "libheif"]
license = "MIT"
repository = "https://github.com/cykooz/libheif-rs"
documentation = "https://docs.rs/crate/libheif-rs"


[dependencies]
enumn = "0.1"
four-cc = "0.3"
libc = "0.2"


[dependencies.libheif-sys]
version = "1.14"


[dev-dependencies]
kamadak-exif = "0.5"
tempfile = "3"


[profile.release]
lto = true
opt-level = 3


[profile.release.package.libheif-rs]
codegen-units = 1


[package.metadata.release]
pre-release-replacements = [
    {file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
    {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"}
]

# Header of next release in CHANGELOG.md:
#   ## [Unreleased] - ReleaseDate
