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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "libheif-rs"
version = "2.3.0"
authors = ["Kirill Kuzminykh <cykooz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe wrapper around the libheif-sys crate for parsing heif/heic files"
documentation = "https://docs.rs/crate/libheif-rs"
readme = "README.md"
keywords = [
"heic",
"heif",
"libheif",
]
license = "MIT"
repository = "https://github.com/cykooz/libheif-rs"
[package.metadata.docs.rs]
all-features = true
[package.metadata.release]
enable-features = [
"latest",
"embedded-libheif",
]
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = "{{version}}"
search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = "{{date}}"
search = "ReleaseDate"
[package.metadata.vcpkg]
dependencies = ["libheif[aom]"]
git = "https://github.com/microsoft/vcpkg"
tag = "2025.07.25"
[package.metadata.vcpkg.target.x86_64-pc-windows-msvc]
dependencies = ["libheif[aom]"]
triplet = "x64-windows-static-md"
[features]
default = ["latest"]
latest = ["v1_19"]
v1_19 = [
"libheif-sys/v1_19",
]
[lib]
name = "libheif_rs"
path = "src/lib.rs"
doctest = false
[[test]]
name = "heif_struct_test"
path = "tests/heif_struct_test.rs"
[[test]]
name = "read_test"
path = "tests/read_test.rs"
[[test]]
name = "regions_test"
path = "tests/regions_test.rs"
[[test]]
name = "security_limits"
path = "tests/security_limits.rs"
[[test]]
name = "write_test"
path = "tests/write_test.rs"
[dependencies.cfg-if]
version = "1.0"
[dependencies.enumn]
version = "0.1"
[dependencies.four-cc]
version = "0.4"
[dependencies.libc]
version = "0.2.174"
[dependencies.libheif-sys]
version = "5.0"
[dev-dependencies.kamadak-exif]
version = "0.5"
[dev-dependencies.tempfile]
version = "3"
[profile.release]
opt-level = 3
lto = true
[profile.release.package.libheif-rs]
codegen-units = 1
|