oxedyne/fe2o3/fe2o3_core/Cargo.toml
1.4 KiB, 13 runs
created by r1870400018:46, 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_core" |
| 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 core library, consisting mostly of relatively simple foundational types and macros." |
| 8 | repository = "https://github.com/oxedyne-io/fe2o3" |
| 9 | |
| 10 | [dependencies] |
| 11 | new = { path = "new" } |
| 12 | |
| 13 | base64 = "0.13.0" |
| 14 | flume = "0.10.9" |
| 15 | rand = { version = "0.8.4" } |
| 16 | rand_core = { version = "0.6.3", features = ["std"] } |
| 17 | |
| 18 | # Logging. |
| 19 | flate2 = "1.0" |
| 20 | humantime = "2.1.0" |
| 21 | once_cell = "1.18.0" |
| 22 | tokio = { version = "1", features = ["rt"] } |
| 23 | |
| 24 | # Listening for a stop request, which is `stop.rs`. Tokio's `signal` feature |
| 25 | # pulls in `mio`, `libc` and `signal-hook-registry`, none of which belong in a |
| 26 | # wasm build, so it is asked for on every other target and nowhere else. The |
| 27 | # features union with the `rt` above rather than replacing it. |
| 28 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies] |
| 29 | tokio = { version = "1", features = ["rt", "signal", "macros"] } |
| 30 | |
| 31 | # Wasm-only runtime shims. Confined to the `wasm32` target so Cargo feature |
| 32 | # unification never touches the native build (getrandom's `js` backend in |
| 33 | # particular must not leak onto native). |
| 34 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
| 35 | getrandom = { version = "0.2", features = ["js"] } |
| 36 | js-sys = "0.3" |
| 37 | wasm-bindgen = "0.2" |
| 38 | web-sys = { version = "0.3", features = ["console"] } |
| 39 | |
| 40 | [dev-dependencies] |