-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (72 loc) · 2.02 KB
/
Copy pathCargo.toml
File metadata and controls
87 lines (72 loc) · 2.02 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
81
82
83
84
85
86
87
cargo-features = ["codegen-backend", "trim-paths"]
[package]
name = "csv_parser"
version = "2.2.0"
authors = ["MrDwarf7", "Blake B. <github.com/MrDwarf7>"]
edition = "2024"
description = "Parse and filter CSV files from a config file (or CLI overrides)."
license = "MIT"
readme = "README.md"
build = "build.rs"
[[bin]]
name = "csv_parser"
path = "src/main.rs"
[package.metadata.winresource]
OriginalFilename = "csv_parser.exe"
FileDescription = "Parse and filter CSV files from a config file (or CLI overrides)."
LegalCopyright = "Copyright (c) Blake B. @github.com/MrDwarf7"
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1.19"
[dependencies]
clap = { version = "4.5.23", features = ["cargo", "derive", "env"] }
config = { version = "0.15.4", features = ["preserve_order"] }
csv = "1.3.1"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.134"
anstyle = "1.0.10"
regex = "1.11.1"
thiserror = "*"
rayon = "1.10.0"
chrono = "0.4.39"
stderrlog = "0.6.0"
log = "0.4.22"
self_update = { version = "0.42.0", features = ["rustls"] }
[dev-dependencies]
tempdir = "0.3.7"
tempfile = "3.14.0"
# See .extras/.cargo_options.toml for profile option notes.
[profile.dev]
opt-level = 1
codegen-units = 256
incremental = true
codegen-backend = "cranelift"
debug = "line-tables-only"
debug-assertions = true
overflow-checks = true
strip = "none"
panic = "abort"
lto = "off"
trim-paths = "none"
[profile.release]
opt-level = 3
codegen-units = 1
incremental = false
codegen-backend = "cranelift"
debug = "none"
debug-assertions = false
overflow-checks = false
strip = "symbols"
panic = "unwind"
lto = "off"
trim-paths = ["diagnostics", "object"]
[profile.dev.package."*"]
inherits = "release"
codegen-backend = "cranelift"
[profile.release.package."*"]
inherits = "release"
codegen-backend = "cranelift"
[lints.rust]
# set_var at CLI startup is intentionally unsafe (single-threaded). Keep allow until that path is redesigned.
unsafe_code = { level = "allow", priority = 1 }
[lints.clippy]
enum_glob_use = { level = "warn", priority = 2 }