# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "shiva" version = "1.4.9" authors = ["Evgeny Igumnov "] build = false exclude = [ "fonts", "test", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Shiva library: Implementation in Rust of a parser and generator for documents of any type" documentation = "https://docs.rs/shiva" readme = "README.md" keywords = [ "parser", "conversion", "transformer", "text-processing", "data-conversion", ] categories = [ "parser-implementations", "text-processing", "command-line-utilities", "data-structures", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/igumnoff/shiva" [package.metadata.docs.rs] features = [ "text", "markdown", "html", "pdf", "json", "xml", "csv", "docx", "xlsx", "xls", "ods", ] [lib] name = "shiva" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.75" [dependencies.base64] version = "0.22.1" optional = true [dependencies.bytes] version = "1.5.0" features = ["serde"] [dependencies.calamine] version = "0.24.0" optional = true [dependencies.comemo] version = "0.4.0" optional = true [dependencies.comrak] version = "0.28.0" optional = true [dependencies.csv] version = "1.3.0" optional = true [dependencies.docx-rs] version = "0.4.17" optional = true [dependencies.ego-tree] version = "0.6.2" optional = true [dependencies.ehttp] version = "=0.5.0" optional = true [dependencies.icu_locid] version = "1.5.0" [dependencies.image] version = "0.24.9" optional = true [dependencies.log] version = "0.4.20" [dependencies.lopdf] version = "0.32.0" optional = true [dependencies.pulldown-cmark] version = "0.11.0" optional = true [dependencies.quick-xml] version = "0.31.0" optional = true [dependencies.regex] version = "1.10.3" optional = true [dependencies.rtf-parser] version = "0.3.0" optional = true [dependencies.rust_xlsxwriter] version = "0.64.2" optional = true [dependencies.scraper] version = "0.19.0" optional = true [dependencies.serde] version = "1.0.198" features = ["derive"] optional = true [dependencies.serde-xml-rs] version = "0.6.0" optional = true [dependencies.serde_json] version = "1.0.116" optional = true [dependencies.shiva-spreadsheet-ods] version = "0.0.2" optional = true [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.thiserror] version = "1.0.44" [dependencies.time] version = "0.3.36" optional = true [dependencies.ttf-parser] version = "0.20.0" optional = true [dependencies.typst] version = "0.11.0" optional = true [dependencies.typst-pdf] version = "0.11.0" optional = true [dependencies.wasm-bindgen] version = "0.2.92" [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.log] version = "0.4.20" [features] all = [ "text", "markdown", "html", "pdf", "json", "xml", "csv", "docx", "rtf", "xlsx", "xls", "ods", ] csv = ["dep:csv"] default = ["all"] docx = ["docx-rs"] html = [ "scraper", "ego-tree", ] json = [ "serde", "serde_json", "base64", ] markdown = [ "regex", "pulldown-cmark", "comrak", ] ods = [ "calamine", "shiva-spreadsheet-ods", ] pdf = [ "lopdf", "typst", "ttf-parser", "comemo", "time", "typst-pdf", "ehttp", ] rtf = [ "rtf-parser", "image", ] text = [] xls = ["calamine"] xlsx = [ "calamine", "rust_xlsxwriter", ] xml = [ "serde", "serde-xml-rs", "quick-xml", ] [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.69" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.42" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.4" features = [ "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window", ]