-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (41 loc) · 1.11 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
[package]
authors = ["Jamie Blondin <jblondin@gmail.com>", "Joel Natividad <joel@datHere.com>"]
categories = ["parser-implementations"]
description = "A CSV file format sniffer for Rust, optimized for qsv"
edition = "2021"
exclude = ["tests/data/*"]
keywords = ["csv"]
license = "MIT"
name = "qsv-sniffer"
repository = "https://github.com/jqnatividad/qsv-sniffer"
version = "0.10.3"
rust-version = "1.77.1"
[features]
cli = []
default = ["cli"]
runtime-dispatch-simd = ["bytecount/runtime-dispatch-simd"]
generic-simd = ["bytecount/generic-simd"]
[[bin]]
name = "sniff"
required-features = ["cli"]
[profile.release]
codegen-units = 1
debug = false
lto = true
opt-level = 3
strip = true
[dependencies]
bitflags = "2.5"
bytecount = "0.6"
csv = "1"
csv-core = "0.1"
hashbrown = "0.14"
memchr = "2"
qsv-dateparser = "0.12"
regex = "1"
tabwriter = "1.4"
[target.'cfg(not(target_arch = "aarch64"))'.dependencies]
simdutf8 = "0.1"
# use SIMD on aarch64 (Apple Silicon, Raspberry Pi 4, etc.)
[target.'cfg(target_arch = "aarch64")'.dependencies]
simdutf8 = { version = "0.1", features = ["aarch64_neon"] }