-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
63 lines (44 loc) · 1.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "libheif-rs"
version = "1.0.2"
authors = ["Kirill Kuzminykh <[email protected]>"]
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"
[features]
default = ["use-bindgen"]
# Use bindgen to generate bindings for libheif,
# instead using of pre-generated bindings.rs.
use-bindgen = ["libheif-sys/use-bindgen"]
[dependencies.libheif-sys]
version = "2.1"
default-features = false
[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.vcpkg]
git = "https://github.com/microsoft/vcpkg"
tag = "2023.11.20"
dependencies = ["libheif"]
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dependencies = ["libheif"] }
[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