Skip to content

Commit 6c26e53

Browse files
authored
feat: implement csv subcommand to convert csv to json (#2)
* chore: update .gitattributes, .gitignore, and pre-commit config * chore: update deny.toml configuration * feat: implement CSV subcommand for rcli * refactor: split main.rs into modules for better organization * feat: enhance CSV processing with output format options
1 parent 6bdafc4 commit 6c26e53

10 files changed

Lines changed: 572 additions & 17 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 强制所有文件使用 LF 换行符
2+
* text=auto eol=lf

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/target
2+
/fixtures

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ repos:
5555
- id: cargo-test
5656
name: cargo test
5757
description: unit test for the project
58-
entry: bash -c 'cargo nextest run --all-features'
58+
entry: bash -c 'cargo nextest run --all-features --no-tests="warn"'
5959
language: rust
6060
files: \.rs$
6161
pass_filenames: false

Cargo.lock

Lines changed: 370 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)