oxedyne/fe2o3/fe2o3_file/Cargo.toml
2.2 KiB, 18 runs
created by r1870400018:289, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | [package] |
| 2 | name = "oxedyne_fe2o3_file" |
| 3 | version = "0.5.0" |
| 4 | authors = ["h00gs <hello@oxedyne.io>"] |
| 5 | edition = "2021" |
| 6 | license = "BSD-2-Clause/Apache-2.0" |
| 7 | description = "Hematite file system, archive and document format utilities." |
| 8 | repository = "https://github.com/oxedyne-io/fe2o3" |
| 9 | |
| 10 | [features] |
| 11 | default = ["deck-write"] |
| 12 | # Generating a `.pptx` or an `.odp` from `office::deck`. READING one is unconditional and stays so: |
| 13 | # a reading view offers six formats and dropping one of them would change shipped behaviour. What |
| 14 | # this turns off is the slide master, the slide layout and the theme a PresentationML package cannot |
| 15 | # open without, plus the OpenDocument presentation writer -- generated code that no other verb calls, |
| 16 | # and the only Office capability with no edit path behind it. A caller does not change either way: |
| 17 | # `pptx::write` and `odf::slides::write` keep one signature and, built without the feature, return an |
| 18 | # error naming the feature. |
| 19 | deck-write = [] |
| 20 | |
| 21 | [dependencies] |
| 22 | oxedyne_fe2o3_core = { path = "../fe2o3_core" } |
| 23 | # `default-features = false` drops the rayon-backed graph search, which this crate does not use and |
| 24 | # which does not build for wasm32. `zip` is reached from the browser, so nothing here may pull in a |
| 25 | # dependency that is not portable. |
| 26 | oxedyne_fe2o3_data = { path = "../fe2o3_data", default-features = false } |
| 27 | # The neutral document tree and the span-preserving XML reader, both of which the Office formats in |
| 28 | # `office` are built on. This crate already depended on `fe2o3_text` transitively, through |
| 29 | # `fe2o3_data` and `fe2o3_jdat`; naming it here adds no crate to the graph. |
| 30 | oxedyne_fe2o3_text = { path = "../fe2o3_text" } |
| 31 | |
| 32 | # DEFLATE, for the members of an archive. Already a dependency of `fe2o3_core`, `fe2o3_net` and |
| 33 | # `fe2o3_graphics`; its `miniz_oxide` backend is pure Rust and builds for wasm32. It also carries |
| 34 | # the CRC-32 an archive checks each member with, so there is no second implementation of one here. |
| 35 | flate2 = "1.0" |
| 36 | |
| 37 | [dev-dependencies] |
| 38 | # `Media`, so the tests can check that an OpenDocument package is named from its own opening bytes |
| 39 | # rather than from what somebody called the file. A dev-dependency: nothing in the crate itself |
| 40 | # needs to identify a format. |
| 41 | oxedyne_fe2o3_stds = { path = "../fe2o3_stds" } |