oxedyne/fe2o3/fe2o3_austenite/Cargo.toml
2.0 KiB, 21 runs
created by r1870400018:35655, 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_austenite" |
| 3 | version = "0.5.0" |
| 4 | authors = ["h00gs <hello@oxedyne.io>"] |
| 5 | edition = "2021" |
| 6 | license = "BSD-2-Clause/Apache-2.0" |
| 7 | description = "Austenite: a streaming, two-pass typesetting engine. Phase 0 spine." |
| 8 | repository = "https://github.com/oxedyne-io/fe2o3" |
| 9 | autobins = false |
| 10 | |
| 11 | # `cdylib` for the wasm-bindgen surface (`wasm-pack` links the single `.wasm`), `rlib` for the native |
| 12 | # library every downstream crate and the oracle harness depend on. A native build produces both; the |
| 13 | # cdylib is unused there and costs only a link. |
| 14 | [lib] |
| 15 | crate-type = ["cdylib", "rlib"] |
| 16 | |
| 17 | [[bin]] |
| 18 | name = "austenite" |
| 19 | path = "src/bin/austenite.rs" |
| 20 | |
| 21 | [[bin]] |
| 22 | name = "pearl_render" |
| 23 | path = "src/bin/pearl_render.rs" |
| 24 | |
| 25 | [[bin]] |
| 26 | name = "pearl_demo_gen" |
| 27 | path = "src/bin/pearl_demo_gen.rs" |
| 28 | |
| 29 | [[bin]] |
| 30 | name = "diagram_demo" |
| 31 | path = "src/bin/diagram_demo.rs" |
| 32 | |
| 33 | [[bin]] |
| 34 | name = "mathgallery" |
| 35 | path = "src/bin/mathgallery.rs" |
| 36 | |
| 37 | [[bin]] |
| 38 | name = "plot_demo" |
| 39 | path = "src/bin/plot_demo.rs" |
| 40 | |
| 41 | [dependencies] |
| 42 | oxedyne_fe2o3_core = { path = "../fe2o3_core" } |
| 43 | oxedyne_fe2o3_jdat = { path = "../fe2o3_jdat" } |
| 44 | oxedyne_fe2o3_geom = { path = "../fe2o3_geom" } |
| 45 | oxedyne_fe2o3_graphics = { path = "../fe2o3_graphics" } |
| 46 | oxedyne_fe2o3_font = { path = "../fe2o3_font" } |
| 47 | oxedyne_fe2o3_text = { path = "../fe2o3_text" } |
| 48 | |
| 49 | # The wasm-bindgen compile surface's dependencies, confined to the wasm target exactly as `fe2o3_core` |
| 50 | # confines its own, so Cargo feature unification never pulls them onto a native build. They are present |
| 51 | # whenever the target is wasm; the `wasm` feature below gates the module that uses them. |
| 52 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
| 53 | wasm-bindgen = "0.2" |
| 54 | js-sys = "0.3" |
| 55 | |
| 56 | [features] |
| 57 | # Turns on the `wasm` compile surface (`src/wasm.rs`). Enable it with `--target wasm32-unknown-unknown |
| 58 | # --features wasm`; on a native target the module is compiled out regardless, so the feature is inert there. |
| 59 | wasm = [] |
| 60 | |
| 61 | [dev-dependencies] |
| 62 | oxedyne_fe2o3_test = { path = "../fe2o3_test" } |