-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (43 loc) · 1.2 KB
/
Cargo.toml
File metadata and controls
47 lines (43 loc) · 1.2 KB
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
[package]
name = "libwebp-sys"
version = "0.14.4"
authors = [
"XianYou <xianyou.cyq@alibaba-inc.com>",
"Kornel Lesiński <kornel@geekhood.net>",
]
keywords = ["WebP", "Image", "Codec", "Decoder", "Encoder"]
description = "Bindings to libwebp (bindgen, static linking)"
license = "MIT"
readme = "README.md"
build = "build.rs"
homepage = "https://github.com/NoXF/libwebp-sys"
repository = "https://github.com/NoXF/libwebp-sys"
include = [
"wrap.h",
"src/*.rs",
"README.md",
"build.rs",
"/vendor/src/",
"/vendor/sharpyuv",
"/vendor/COPYING",
"/vendor/PATENTS",
]
exclude = ["*.sh", "*.am"]
edition = "2024"
[profile.test]
opt-level = 2
[build-dependencies]
cc = "1"
glob = "0.3"
pkg-config = "0.3"
bindgen = { version = "0.72", optional = true }
[features]
default = ["std", "parallel"]
std = []
parallel = ["cc/parallel"]
neon = [] # ARM NEON SIMD (will crash on ARM CPUs without it)
sse41 = [] # x64 SSE 4.1 (will crash on x86 CPUs without it)
avx2 = [] # x64 AVX2 (will crash on x86 CPUs without it)
system-dylib = [
] # Use the system-installed dylib instead of compiling a static library from the vendor
generate-bindings = ["dep:bindgen"] # Generate ffi.rs based on the compile target