[package]
edition = "2021"
name = "spreadsheet-ods"
version = "1.0.4"
authors = ["thomasscharler <thscharler@gmail.com>"]
build = false
exclude = [
".idea/*",
".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read and write ODS files"
readme = "README.md"
keywords = [
"ODS",
"spreadsheet",
"OpenOffice",
"LibreOffice",
]
categories = ["parser-implementations"]
license = "MIT/Apache-2.0"
repository = "https://github.com/thscharler/spreadsheet-ods"
[features]
all_locales = [
"locale_cs_CZ",
"locale_de_AT",
"locale_en_US",
]
check_xml = []
default = [
"rust_decimal",
"all_locales",
]
dump_unused = []
dump_xml = []
locale_cs_CZ = []
locale_de_AT = []
locale_en_US = []
rust_decimal = [
"dep:rust_decimal",
"dep:rust_decimal_macros",
]
[lib]
name = "spreadsheet_ods"
path = "src/lib.rs"
[[example]]
name = "doc_sample"
path = "examples/doc_sample.rs"
[[example]]
name = "formatting"
path = "examples/formatting.rs"
[[example]]
name = "negative_number_red"
path = "examples/negative_number_red.rs"
[[example]]
name = "read_data"
path = "examples/read_data.rs"
[[example]]
name = "sheet_features"
path = "examples/sheet_features.rs"
[[test]]
name = "bench_attrmap"
path = "tests/bench_attrmap.rs"
[[test]]
name = "bench_fast"
path = "tests/bench_fast.rs"
[[test]]
name = "bench_sample"
path = "tests/bench_sample.rs"
[[test]]
name = "bench_xparse"
path = "tests/bench_xparse.rs"
[[test]]
name = "issue1"
path = "tests/issue1.rs"
[[test]]
name = "issue6"
path = "tests/issue6.rs"
[[test]]
name = "lib_test"
path = "tests/lib_test.rs"
[[test]]
name = "sizes"
path = "tests/sizes.rs"
[[test]]
name = "test_54"
path = "tests/test_54.rs"
[[test]]
name = "test_annotation"
path = "tests/test_annotation.rs"
[[test]]
name = "test_config"
path = "tests/test_config.rs"
[[test]]
name = "test_core_writing_loop"
path = "tests/test_core_writing_loop.rs"
[[test]]
name = "test_default"
path = "tests/test_default.rs"
[[test]]
name = "test_draw"
path = "tests/test_draw.rs"
[[test]]
name = "test_fods"
path = "tests/test_fods.rs"
[[test]]
name = "test_format"
path = "tests/test_format.rs"
[[test]]
name = "test_grouped"
path = "tests/test_grouped.rs"
[[test]]
name = "test_header"
path = "tests/test_header.rs"
[[test]]
name = "test_locale"
path = "tests/test_locale.rs"
[[test]]
name = "test_metadata"
path = "tests/test_metadata.rs"
[[test]]
name = "test_pagelayout"
path = "tests/test_pagelayout.rs"
[[test]]
name = "test_read_variants"
path = "tests/test_read_variants.rs"
[[test]]
name = "test_refs"
path = "tests/test_refs.rs"
[[test]]
name = "test_sheet"
path = "tests/test_sheet.rs"
[[test]]
name = "test_split_hidden"
path = "tests/test_split_hidden.rs"
[[test]]
name = "test_style_attr"
path = "tests/test_style_attr.rs"
[[test]]
name = "test_text"
path = "tests/test_text.rs"
[[test]]
name = "test_validation"
path = "tests/test_validation.rs"
[[test]]
name = "test_workbook"
path = "tests/test_workbook.rs"
[[test]]
name = "test_write_read"
path = "tests/test_write_read.rs"
[[test]]
name = "test_xmltree"
path = "tests/test_xmltree.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"alloc",
]
default-features = false
[dependencies.color-rs2]
version = "0.9.0"
[dependencies.get-size2]
version = "0.7"
features = ["derive"]
[dependencies.icu_locale_core]
version = "2.0"
[dependencies.kparse]
version = "3.0"
[dependencies.lazy_static]
version = "1.5"
[dependencies.nom]
version = "7.1"
[dependencies.nom_locate]
version = "4.2"
[dependencies.quick-xml]
version = "0.38"
features = ["encoding"]
[dependencies.rust_decimal]
version = "1.36"
optional = true
[dependencies.rust_decimal_macros]
version = "1.36"
optional = true
[dependencies.string_cache]
version = "0.9"
[dependencies.zip]
version = "6.0.0"
features = [
"deflate",
"time",
]
default-features = false
[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]