Oregami
Repositories/oxedyne/fe2o3

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]
2name = "oxedyne_fe2o3_austenite"
3version = "0.5.0"
4authors = ["h00gs <hello@oxedyne.io>"]
5edition = "2021"
6license = "BSD-2-Clause/Apache-2.0"
7description = "Austenite: a streaming, two-pass typesetting engine. Phase 0 spine."
8repository = "https://github.com/oxedyne-io/fe2o3"
9autobins = 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]
15crate-type = ["cdylib", "rlib"]
16
17[[bin]]
18name = "austenite"
19path = "src/bin/austenite.rs"
20
21[[bin]]
22name = "pearl_render"
23path = "src/bin/pearl_render.rs"
24
25[[bin]]
26name = "pearl_demo_gen"
27path = "src/bin/pearl_demo_gen.rs"
28
29[[bin]]
30name = "diagram_demo"
31path = "src/bin/diagram_demo.rs"
32
33[[bin]]
34name = "mathgallery"
35path = "src/bin/mathgallery.rs"
36
37[[bin]]
38name = "plot_demo"
39path = "src/bin/plot_demo.rs"
40
41[dependencies]
42oxedyne_fe2o3_core = { path = "../fe2o3_core" }
43oxedyne_fe2o3_jdat = { path = "../fe2o3_jdat" }
44oxedyne_fe2o3_geom = { path = "../fe2o3_geom" }
45oxedyne_fe2o3_graphics = { path = "../fe2o3_graphics" }
46oxedyne_fe2o3_font = { path = "../fe2o3_font" }
47oxedyne_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]
53wasm-bindgen = "0.2"
54js-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.
59wasm = []
60
61[dev-dependencies]
62oxedyne_fe2o3_test = { path = "../fe2o3_test" }