Skip to content

Commit

Permalink
update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-U434MT0\hiro committed Oct 22, 2024
1 parent 09c8027 commit 7453708
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "umya-spreadsheet"
version = "2.1.1"
version = "2.1.2"
authors = ["MathNya <[email protected]>"]
repository = "https://github.com/MathNya/umya-spreadsheet"
keywords = ["excel", "spreadsheet", "xlsx", "reader", "writer"]
Expand Down
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,31 @@
Please mention in issues if you have any questions.

## Update details
### ver 2.1.1
* Minor bug fixes
### ver 2.1.0
* For image processing functions, you can select what you need.(Thank you. [xamgore](https://github.com/xamgore))
### ver 2.1.2
* cleanup() is now available.
Remove invisible garbage data.
Doing so may reduce file size.
Processing may take some time.
```rust
let path = std::path::Path::new("./tests/test_files/aaa.xlsx");
let mut book = umya_spreadsheet::reader::xlsx::read(path).unwrap();
book.get_sheet_mut(&0).unwrap().cleanup();
```

* Minor bug fixes

## Usage
### Installation
Add the following code to Cargo.toml
```toml
[dependencies]
umya-spreadsheet = "2.1.1"
umya-spreadsheet = "2.1.2"

# WebAssembly support
umya-spreadsheet = { version = "2.1.1", features = ["js"] }
umya-spreadsheet = { version = "2.1.2", features = ["js"] }

# Use only png for image processing
umya-spreadsheet = { version = "2.1.1", features = ["image/png"] }
umya-spreadsheet = { version = "2.1.2", features = ["image/png"] }
```

Add the following code to main.rs
Expand Down

0 comments on commit 7453708

Please sign in to comment.