-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
49 lines (43 loc) · 1.3 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
[package]
name = "image2"
version = "1.10.0"
authors = ["Zach Shipko <zachshipko@gmail.com>"]
license = "ISC"
keywords = ["image", "image-processing"]
repository = "https://github.com/zshipko/image2-rs"
documentation = "https://docs.rs/image2"
description = "A simple image processing library"
readme = "README.md"
edition = "2021"
links = "OpenImageIO"
[dependencies]
half = "2"
thiserror = "1"
euclid = "0.22"
blockhash = {version = "0.5", default-features=false}
memmap2 = {version = "0.5", optional = true}
cpp = {version = "0.5", optional = true}
rayon = {version = "1", optional = true}
serde = {version = "1", optional = true, features = ["derive"]}
rusttype = {version = "0.9", optional = true}
glfw = {version = "0.51", optional = true, default-features=false}
glow = {version = "0.12", optional = true}
[build-dependencies]
cpp_build = {version = "0.5", optional = true}
[dev-dependencies]
smol = "1"
[features]
default = ["oiio", "parallel", "text", "mmap"]
oiio = ["cpp", "cpp_build"]
oiio-custom = ["cpp", "cpp_build"]
parallel = ["rayon"]
serialize = ["serde", "euclid/serde"]
text = ["rusttype"]
glfw-sys = ["glfw/glfw-sys"]
magick = []
opengl = ["glow"]
mmap = ["memmap2"]
imagemagick7 = ["magick"]
[package.metadata.docs.rs]
no-default-features = true
features = ["parallel", "serialize", "mmap", "text"]