-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
45 lines (37 loc) · 1.26 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
[package]
name = "turbojpeg"
version = "1.1.2-pre"
edition = "2021"
resolver = "2"
authors = ["Jan Špaček <patek.mail@gmail.com>"]
homepage = "https://github.com/honzasp/rust-turbojpeg"
repository = "https://github.com/honzasp/rust-turbojpeg"
documentation = "https://docs.rs/turbojpeg"
license = "Unlicense OR MIT"
readme = "README.md"
keywords = ["jpeg", "image", "decoder", "encoder", "transform"]
categories = ["compression", "api-bindings", "multimedia::images"]
description = "Fast and easy JPEG encoding, decoding and lossless transforms with TurboJPEG"
[lib]
doctest = true
[dependencies]
image = {version = ">= 0.24, < 0.26", optional = true, default-features = false}
libc = "^0.2"
thiserror = "^1.0"
turbojpeg-sys = {version = "^1.0.0", default-features = false, path = "./turbojpeg-sys"}
[dev-dependencies]
anyhow = {version = "1.0"}
image = {version = "^0.24", features = ["jpeg", "png", "bmp", "pnm"]}
clap = "2.33"
[features]
bindgen = ["turbojpeg-sys/bindgen"]
cmake = ["turbojpeg-sys/cmake"]
pkg-config = ["turbojpeg-sys/pkg-config"]
require-simd = ["turbojpeg-sys/require-simd"]
default = ["cmake", "pkg-config", "require-simd"]
[[example]]
name = "image"
required-features = ["image"]
[package.metadata.docs.rs]
features = ["image"]
rustc-args = ["--cfg", "docsrs"]