-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
71 lines (63 loc) · 1.79 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
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "avrow"
version = "0.2.1"
authors = ["creativcoder <[email protected]>"]
edition = "2018"
repository = "https://github.com/creativcoder/avrow"
license = "MIT OR Apache-2.0"
description = "Avrow is a fast, type safe serde based data serialization library"
homepage = "https://github.com/creativcoder/avrow"
documentation = "https://docs.rs/avrow"
readme = "README.md"
keywords = ["avro", "avrow", "rust-avro", "serde-avro","encoding"]
categories = ["encoding", "compression", "command-line-utilities"]
[dependencies]
serde = {version= "1", features=["derive"] }
serde_derive = "1"
serde_json = { version="1", features=["preserve_order"] }
rand = "0.4.2"
byteorder = "1"
integer-encoding = "2"
snap = { version = "0.2", optional = true }
flate2 = { version = "1", features = ["zlib"], default-features = false, optional = true }
crc = "1"
thiserror = "1.0"
indexmap = {version = "1", features = ["serde-1"]}
once_cell = "1.4.1"
zstdd = { version = "0.5.3", optional = true, package="zstd" }
bzip2 = { version = "0.4.1", optional = true }
xz2 = { version = "0.1", optional = true }
shatwo = { version = "0.9.1", optional = true, package="sha2" }
mdfive = { version = "0.7.0", optional = true, package="md5" }
[dev-dependencies]
criterion = "0.2"
pretty_env_logger = "0.4"
fstrings = "0.2"
env_logger = "0.4"
anyhow = "1.0.32"
[[bench]]
name = "primitives"
harness = false
[[bench]]
name = "complex"
harness = false
[[bench]]
name = "schema"
harness = false
[features]
# compression codecs
snappy = ["snap"]
deflate = ["flate2"]
zstd = ["zstdd"]
bzip = ["bzip2"]
xz = ["xz2"]
# fingerprint codecs
sha2 = ["shatwo"]
md5 = ["mdfive"]
codec = ["snappy", "deflate", "zstd", "bzip2", "xz"]
fingerprint = ["sha2", "md5"]
all = ["codec", "fingerprint"]
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1