-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
102 lines (96 loc) · 2.73 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
91
92
93
94
95
96
97
98
99
100
101
102
[package]
name = "tabiew"
version = "0.8.0"
authors = ["Shayan Hashemi <[email protected]>"]
license = "MIT"
edition = "2021"
description = "A lightweight TUI application to view and query tabular data files, such as CSV, TSV, and parquet."
repository = "https://github.com/shshemi/tabiew"
documentation = "https://docs.rs/tabiew"
homepage = "https://github.com/shshemi/tabiew"
[[bin]]
name = "tw"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5.23", features = ["derive"] }
crossterm = { version = "0.28.1", features = ["use-dev-tty"] }
fwf-rs = "0.2.0"
itertools = "0.13.0"
polars = { version = "0.45.1", features = [
"dtype-decimal",
"lazy",
"polars-sql",
"polars-io",
"parquet",
"json",
"ipc",
"dtype-categorical"
] }
polars-sql = "0.45.1"
polars-lazy = "0.45.1"
rand = "0.8.5"
ratatui = "0.29.0"
rayon = "1.10.0"
regex = "1.11.1"
rusqlite = { version = "0.32.1", features = ["bundled"] }
tempfile = "3.14.0"
anyhow = "1.0.95"
[build-dependencies]
clap = { version = "4.5.4", features = ["derive"] }
clap_mangen = { version = "0.2.24" }
clap_complete = { version = "4.5.38" }
[package.metadata.deb]
license-file = ["LICENSE", "4"]
depends = "$auto"
extended-description = """
Tabiew is a lightweight, terminal-based application to view and query delimiter separated value formatted documents, such as CSV and TSV files.
"""
section = "utils"
priority = "optional"
assets = [
[
"target/release/tw",
"/usr/bin/tw",
"0755",
],
[
"target/manual/tabiew.1",
"/usr/share/man/man1/tw.1",
"0644",
],
[
"target/manual/tabiew.1",
"/usr/share/man/man1/tabiew.1",
"0644",
],
[
"target/completion/tw.bash",
"/usr/share/bash-completion/completions/tw.bash",
"0644",
],
[
"target/completion/_tw",
"/usr/share/zsh/vendor-completions/_tw",
"0644",
],
[
"target/completion/tw.fish",
"/usr/share/fish/completions/tw.fish",
"0644",
],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/tw", dest = "/usr/bin/tw", mode = "755" },
{ source = "target/manual/tabiew.1", dest = "/usr/share/man/man1/tw.1", mode = "0644" },
{ source = "target/manual/tabiew.1", dest = "/usr/share/man/man1/tabiew.1", mode = "0644" },
{ source = "target/completion/tw.bash", dest = "/usr/share/bash-completion/completions/tw.bash", mode = "0644" },
{ source = "target/completion/_tw", dest = "/usr/share/zsh/vendor-completions/_tw", mode = "0644" },
{ source = "target/completion/tw.fish", dest = "/usr/share/fish/completions/tw.fish", mode = "0644" },
]
[profile.release]
lto = true
strip = true
opt-level = 3
codegen-units = 1
panic = 'abort'