Skip to content

Commit 68cdd00

Browse files
author
ribbondz-work
committed
reorganize the code into rsv application and rsv-lib library
1 parent fc74b99 commit 68cdd00

120 files changed

Lines changed: 326 additions & 315 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,3 @@
1-
[package]
2-
name = "csv-txt-excel-parallel-toolkit"
3-
version = "0.4.16"
4-
edition = "2021"
5-
authors = ["zhuang dai <[email protected]>"]
6-
description = "A parallel and fast command line toolkit for small and large (>10G) CSV, TXT, and EXCEL files, with a unified api."
7-
license = "MIT OR Unlicense"
8-
repository = "https://github.com/ribbondz/rsv"
9-
categories = ["command-line-utilities"]
10-
11-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12-
[lib]
13-
name = "rsv_lib"
14-
crate-type = ["cdylib", "rlib"]
15-
16-
[dependencies]
17-
ahash = "0.8.12"
18-
bytecount = "0.6.9"
19-
calamine = { version = "0.26.0", features = ['dates'] }
20-
chrono = "0.4.41"
21-
clap = { version = "4.5.40", features = ["derive"] }
22-
crossbeam-channel = "0.5.15"
23-
dashmap = "6.1.0"
24-
get_fields = "0.1.0"
25-
rand = "0.9.1"
26-
rayon = "1.10.0"
27-
regex = "1.11.1"
28-
tabled = "0.20.0"
29-
xlsxwriter = "0.6.1"
30-
31-
# [patch.crates-io]
32-
# calamine = { git = "https://github.com/prophittcorey/calamine", branch = "fix/zip-3.0" }
33-
34-
35-
[dev-dependencies]
36-
execute = "0.2.13"
37-
38-
# to save typing, the binary is renamed to rsv, a combination of Rust+CSV.
39-
[[bin]]
40-
name = "rsv"
41-
path = "src/main.rs"
1+
[workspace]
2+
members = ["rsv", "rsv-lib"]
3+
resolver = "2"

rsv-lib/Cargo.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[package]
2+
name = "rsv-lib"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
7+
[dependencies]
8+
ahash = "0.8.12"
9+
bytecount = "0.6.9"
10+
calamine = { version = "0.26.0", features = ['dates'] }
11+
chrono = "0.4.41"
12+
crossbeam-channel = "0.5.15"
13+
dashmap = "6.1.0"
14+
get_fields = "0.1.0"
15+
rand = "0.9.1"
16+
rayon = "1.10.0"
17+
regex = "1.11.1"
18+
xlsxwriter = "0.6.1"
19+
tabled = "0.20.0"

0 commit comments

Comments
 (0)