-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from proclml/heyiliang/xmlserde
refactor: a pure crate named xmlserde
- Loading branch information
Showing
44 changed files
with
412 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "logisheets_controller" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
description = "the core of LogiSheets" | ||
authors = ["ImJeremyHe<[email protected]>"] | ||
edition = "2018" | ||
|
@@ -22,7 +22,7 @@ unicode-segmentation = "1.8.0" | |
ts-rs = "6.1.2" | ||
colorsys = "0.6.5" | ||
|
||
logisheets_base = {version = "0.2.1", path = "./base"} | ||
logisheets_lexer = {version = "0.2.1", path = "./lexer"} | ||
logisheets_parser = {version = "0.2.1", path = "./parser"} | ||
logisheets_workbook = {version = "0.2.1", path = "../workbook"} | ||
logisheets_base = {version = "0.3.0", path = "./base"} | ||
logisheets_lexer = {version = "0.3.0", path = "./lexer"} | ||
logisheets_parser = {version = "0.3.0", path = "./parser"} | ||
logisheets_workbook = {version = "0.3.0", path = "../workbook"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "logisheets_base" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
description = "some basic definitions for LogiSheets" | ||
authors = ["ImJeremyHe<[email protected]>"] | ||
license = "MIT" | ||
|
@@ -11,4 +11,4 @@ futures = "0.3.19" | |
im = "15.0.0" | ||
serde = {version = "1.0.125", features = ["derive"]} | ||
ts-rs = "6.1.2" | ||
logisheets_workbook = {version = "0.2.1", path = "../../workbook"} | ||
logisheets_workbook = {version = "0.3.0", path = "../../workbook"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "logisheets_lexer" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
edition = "2018" | ||
description = "the lexer for excel formula" | ||
authors = ["ImJeremyHe<[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "logisheets_parser" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
edition = "2018" | ||
description = "the parser of excel formula" | ||
authors = ["ImJeremyHe<[email protected]>"] | ||
|
@@ -12,5 +12,5 @@ pest = "2.1.3" | |
pest_derive = "2.1.0" | ||
chrono = "0.4.19" | ||
regex = "1" | ||
logisheets_lexer = {version = "0.2.1", path = "../lexer"} | ||
logisheets_base = {version = "0.2.1", path = "../base"} | ||
logisheets_lexer = {version = "0.3.0", path = "../lexer"} | ||
logisheets_base = {version = "0.3.0", path = "../base"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,17 @@ | |
authors = ["ImJeremyHe<[email protected]>"] | ||
edition = "2018" | ||
name = "logisheets_workbook" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
license = "MIT" | ||
description = "read and write .xlsx files" | ||
description = "Tools for LogiSheets to unarchive and write .xlsx file" | ||
|
||
[dependencies] | ||
convert_case = "0.4.0" | ||
linked-hash-map = {version = "0.5.3", features = ["serde_impl"]} | ||
paste = "1.0.5" | ||
xmlserde = {version = "0.3.0", path = "../xmlserde"} | ||
logisheets_workbook_derives = {version = "0.3.0", path = "./derives"} | ||
zip = {version = "0.6.0", default-features = false, features = ["deflate"]} | ||
ts-rs = "6.1.2" | ||
thiserror = "1.0.24" | ||
quick-xml = {version = "0.22.0", features = ["serialize"]} | ||
regex = "1" | ||
serde = {version = "1.0.125", features = ["derive"]} | ||
serde_json = "1.0.59" | ||
serde_repr = "0.1" | ||
thiserror = "1.0.24" | ||
zip = {version = "0.6.0", default-features = false, features = ["deflate"]} | ||
logisheets_xmlserde = {path = "./xmlserde", version = "0.2.1"} | ||
logisheets_derives = {path = "./derives", version = "0.2.1"} | ||
regex = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "logisheets_derives" | ||
version = "0.2.1" | ||
name = "logisheets_workbook_derives" | ||
version = "0.3.0" | ||
description = "macros that help LogiSheets serde the xml files" | ||
authors = ["ImJeremyHe<[email protected]>"] | ||
license = "MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crates/workbook/xmlserde/src/comments.rs → crates/workbook/src/ooxml/comments.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...es/workbook/xmlserde/src/complex_types.rs → crates/workbook/src/ooxml/complex_types.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/workbook/xmlserde/src/external_links.rs → crates/workbook/src/ooxml/external_links.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pub mod comments; | ||
pub mod complex_types; | ||
pub mod content_types; | ||
pub mod core_properties; | ||
pub mod defaults; | ||
pub mod doc_props; | ||
pub mod external_links; | ||
pub mod relationships; | ||
pub mod simple_types; | ||
pub mod sst; | ||
pub mod style_sheet; | ||
pub mod test_utils; | ||
pub mod theme; | ||
pub mod workbook; | ||
pub mod worksheet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
crates/workbook/xmlserde/src/simple_types.rs → crates/workbook/src/ooxml/simple_types.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
use xmlserde::xml_serde_enum; | ||
|
||
xml_serde_enum! { | ||
#[derive(Debug, PartialEq, Eq)] | ||
StAxis { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/workbook/xmlserde/src/style_sheet.rs → crates/workbook/src/ooxml/style_sheet.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/workbook/xmlserde/src/workbook.rs → crates/workbook/src/ooxml/workbook.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crates/workbook/xmlserde/src/worksheet.rs → crates/workbook/src/ooxml/worksheet.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.