refactor(dexcel): 重构Excel工具库依赖和功能
- 将底层Excel库从calamine和rust_xlsxwriter切换到umya-spreadsheet - 更新版本号从0.1.0到0.4.0 - 降低Rust edition从2024到2021 - 添加新的样式设置功能(style命令),支持行高、列宽、自动换行设置 - 修改delete命令支持范围删除(前N行、后N行、指定范围) - 移除自动创建文件功能,insert操作要求文件必须存在 - 添加thiserror和tempfile依赖用于错误处理和临时文件操作 - 更新tabled和clap依赖版本 - 完善README文档,新增样式设置相关说明和示例 - 保留完整的Excel样式(颜色、字体、边框等)功能 - 修改query输出格式,移除分隔符参数,统一使用表格格式显示
This commit is contained in:
+7
-6
@@ -1,11 +1,12 @@
|
||||
[package]
|
||||
name = "dexcel"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
version = "0.4.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
calamine = { version = "0.26", features = ["dates"] }
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
rust_xlsxwriter = "0.80"
|
||||
tabled = "0.16"
|
||||
chrono = "0.4"
|
||||
clap = { version = "4.6", features = ["derive"] }
|
||||
umya-spreadsheet = "2.3"
|
||||
tabled = "0.20"
|
||||
thiserror = "2.0"
|
||||
tempfile = "3.27"
|
||||
Reference in New Issue
Block a user