-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (57 loc) · 2.1 KB
/
Cargo.toml
File metadata and controls
80 lines (57 loc) · 2.1 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
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
[package]
name = "divans"
version = "0.0.1"
authors = [
"Daniel Reiter Horn <danielrh@dropbox.com>",
"Jongmin Baek <jongmin@dropbox.com>",
"Anatoly Yakovenko <anatoly@dropbox.com>"
]
license = "Apache-2.0"
description = "DivANS is a new way of structuring compression programs to make them more open to innovation in the wider community, by separating compression into multiple stages that can each be improved independently"
documentation = "https://blogs.dropbox.com/tech/2018/06/building-better-compression-together-with-divans/"
keywords = ["brotli", "decompression", "lz77", "huffman", "nostd"]
readme = "README.md"
build = "build.rs"
autobins = false
[lib]
crate-type=["cdylib", "rlib", "staticlib"]
[[bin]]
doc = false
name = "divans"
[build-dependencies]
vergen = "0.1"
[dependencies]
"alloc-no-stdlib" = "~2.0"
"brotli" = {version = "~3.1"}
"packed_simd" = {"optional"=true, version="0.3"}
"alloc-stdlib" = {"optional"=true, version="~0.2"}
[features]
default = ["std"]
# allow use of SIMD to update probability and compute crc32c
simd = ["brotli/simd", "packed_simd/into_bits"]
# use avx2-specific instructions
avx2=[]
# avoid inlining some key functions (for profiling). Significant perf hit
no-inline=[]
# do not compile any unsafe code (this disables C-FFI)
safe=[]
# use 65536-sized table to do 16 bit integer divides: similar speed, but strains memory subsystem
avoid-divide=[]
#use dynamic CDF blending depending on samples
findspeed = []
# print breakdown of which parts of the file cost
billing = []
# use divisionless CDF: averages with other CDFs rather than counting samples like FrequentistCDF
blend = []
# print trace of probability
debug_entropy = []
# only use portable SIMD instructions for probability updates
portable-simd = []
std = ["alloc-stdlib", "brotli/std"]
no-stdlib-rust-binding = []
# turn on benchmark tests and --bench commands (requires nigtly)
benchmark = ["brotli/benchmark"]
# allow specification of a external probability array, to test new prediction schemes
external-literal-probability = ["brotli/external-literal-probability"]
uncached_frequentist = []
threadlog = []