-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
90 lines (78 loc) · 2.45 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[workspace.package]
version = "0.11.2"
authors = ["Matthijs Brobbel <[email protected]>"]
edition = "2021"
rust-version = "1.79.0"
description = "An implementation of Apache Arrow"
readme = "README.md"
repository = "https://github.com/mbrobbel/narrow"
documentation = "http://docs.rs/narrow/"
license = "Apache-2.0 OR MIT"
keywords = ["Arrow"]
categories = ["data-structures"]
[workspace]
members = ["narrow-derive"]
[package]
name = "narrow"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description.workspace = true
readme.workspace = true
repository.workspace = true
documentation.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
[package.metadata.docs.rs]
all-features = true
[features]
default = []
arrow-rs = [
"dep:arrow-array",
"dep:arrow-buffer",
"dep:arrow-schema",
"narrow-derive?/arrow-rs",
]
chrono = ["dep:chrono"]
derive = ["dep:narrow-derive"]
map = ["derive"]
uuid = ["dep:uuid"]
[dependencies]
arrow-array = { version = "53.2.0", default-features = false, optional = true }
arrow-buffer = { version = "53.1.0", default-features = false, optional = true }
arrow-schema = { version = "53.1.0", default-features = false, optional = true }
chrono = { version = "0.4.38", default-features = false, optional = true }
narrow-derive = { path = "narrow-derive", version = "0.11.2", optional = true }
uuid = { version = "1.11.0", default-features = false, optional = true }
[dev-dependencies]
arrow-cast = { version = "53.2.0", default-features = false, features = [
"prettyprint",
] }
bytes = "1.8.0"
chrono = { version = "0.4.38", default-features = false, features = ["now"] }
criterion = { version = "0.5.1", default-features = false, features = [
"html_reports",
] }
rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
rustversion = { version = "1.0.18", default-features = false }
parquet = { version = "53.2.0", default-features = false, features = ["arrow"] }
uuid = { version = "1.11.0", default-features = false }
num-traits = { version = "0.2.19" }
[profile.bench]
lto = true
codegen-units = 1
[[bench]]
name = "narrow"
harness = false
required-features = ["arrow-rs"]
[[example]]
name = "basic"
required-features = ["derive"]
[[example]]
name = "parquet"
required-features = ["arrow-rs", "chrono", "derive", "map", "uuid"]
[[example]]
name = "tpch_lineitem"
required-features = ["arrow-rs", "chrono", "derive"]