-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
59 lines (44 loc) · 1.44 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
[package]
name = "libheif-sys"
version = "3.1.0+1.18.2"
authors = ["Kirill Kuzminykh <[email protected]>"]
edition = "2018"
description = "libheif bindings"
readme = "README.md"
repository = "https://github.com/cykooz/libheif-sys"
keywords = ["heic", "heif", "libheif"]
license = "MIT"
documentation = "https://docs.rs/crate/libheif-sys"
links = "heif"
build = "build.rs"
exclude = ["/data"]
[dependencies]
libc = "0.2.162"
[features]
default = []
# Use bindgen to generate bindings for libheif,
# instead using of pre-generated bindings.rs.
use-bindgen = ["dep:bindgen", "dep:prettyplease"]
compile-libheif = ["dep:cmake"]
embedded-libheif-plugins = ["compile-libheif"]
[build-dependencies]
pkg-config = "0.3.31"
prettyplease = { version = "0.2.29", optional = true }
bindgen = { version = "0.71.1", optional = true }
cmake = { version = "0.1.52", optional = true }
[target.'cfg(windows)'.build-dependencies]
vcpkg = "0.2"
walkdir = "2"
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
tag = "2025.01.13"
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