-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
60 lines (48 loc) · 1.14 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
[package]
name = "lepton_jpeg"
version = "0.4.0"
edition = "2021"
authors = ["Kristof Roomp <[email protected]>"]
# requires scoped threads and IsTerminal
rust-version = "1.70"
description = "Rust port of the Lepton JPEG compression library"
readme = "README.md"
repository = "https://github.com/microsoft/lepton_jpeg_rust"
license = "Apache-2.0"
exclude = [
"images/*",
"tests/*",
]
categories = ["multimedia::images", "multimedia::encoding"]
[profile.release]
debug=true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
compression_stats = []
use_rayon = ["dep:rayon-core"]
detailed_tracing = []
[dependencies]
bytemuck = "1"
byteorder = "1.4"
flate2 = "1.0"
default-boxed = "0.2"
wide = "0.7"
log = "0.4"
simple_logger ="5.0"
unroll = "0.1"
rayon-core = { version = "1", optional = true }
git-version = "0.3"
[target.'cfg(windows)'.dependencies]
cpu-time = "1.0"
thread-priority = "1.0.0"
[dev-dependencies]
rstest = "0.22"
rand = "0.8"
rand_chacha = "0.3"
siphasher = "1"
[[bin]]
name = "lepton_jpeg_util"
path = "src/main.rs"
[lib]
crate-type = ["cdylib","lib"]