diff --git a/Cargo.lock b/Cargo.lock index c088c03..69acda4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -482,9 +482,9 @@ dependencies = [ [[package]] name = "csv" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac574ff4d437a7b5ad237ef331c17ccca63c46479e5b5453eb8e10bb99a759fe" +checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf" dependencies = [ "csv-core", "itoa", @@ -501,16 +501,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "csvx" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92081efd8b1d03f5a1bf242876cfdd8fa2bf9fe521ddb2d31f8747dfa2dd2cb7" -dependencies = [ - "csv", - "thiserror", -] - [[package]] name = "deranged" version = "0.3.11" @@ -1507,7 +1497,7 @@ dependencies = [ "clap", "colorsys", "crossterm", - "csvx", + "csv", "futures", "ironcalc", "ratatui", diff --git a/Cargo.toml b/Cargo.toml index fb9fea2..360d494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,6 @@ edition = "2021" anyhow = { version = "1.0.91", features = ["backtrace"] } clap = { version = "4.5.20", features = ["derive"] } crossterm = { version = "0.28.1", features = ["event-stream", "serde"] } -csvx = "0.1.17" # this revision introduces a way to get the Model back out of the UserModel ironcalc = { git = "https://github.com/ironcalc/IronCalc" } futures = "0.3.31" @@ -21,3 +20,4 @@ slice-utils = { git = "https://dev.zaphar.net/zaphar/slice-cursor-rs.git" } serde_json = "1.0.133" colorsys = "0.6.7" tui-markdown = { version = "0.3.1", features = [] } +csv = "1.3.1" diff --git a/docs/command.md b/docs/command.md index 921c735..a8a5058 100644 --- a/docs/command.md +++ b/docs/command.md @@ -12,6 +12,7 @@ The currently supported commands are: * `new-sheet [name]` Creates a new sheet. If the name is provided then uses that. If omitted then uses a default sheet name. * `select-sheet ` Select a sheet by name. * `edit ` Edit a new spreadsheet at the current path. `e` is a shorthand alias for this command. +* `export-csv ` Export the current sheet to a csv file at ``. * `quit` Quits the application. `q` is a shorthand alias for this command.