oficina / slides Public

Clone
git clone https://amadan.net/oficina/slides

Plain git — no account needed to clone.

Download

Download this file

1[package]
2name = "slides-core"
3version = "0.1.0"
4edition = "2021"
5
6[lib]
7crate-type = ["cdylib", "rlib"]
8
9[dependencies]
10yrs = "=0.23.5"
11# The op batch and the view both cross the ABI as JSON. Pinned exact,
12# like yrs, so a build is the same build everywhere the lockfile goes.
13serde = { version = "=1.0.229", features = ["derive"] }
14serde_json = "=1.0.151"
15
16# Only used by the __getrandom_v03_custom hook in src/lib.rs, which is
17# itself cfg(target_arch = "wasm32") — the custom getrandom backend has no
18# role on native builds (tests, tooling), so keep the dependency scoped to
19# match instead of pulling it into every target unconditionally.
20[target.'cfg(target_arch = "wasm32")'.dependencies]
21getrandom = "=0.4.3"
22
23[profile.release]
24opt-level = "s"
25lto = true
26panic = "abort"
27
28[dev-dependencies]
29wasmi = "=0.32.3"
30wasmparser = "=0.258.0"
31
32# See vendor/README.md — this fixes a `getrandom`/`fastrand` feature
33# conflict that only manifests when overriding getrandom's backend to
34# avoid a wasm-bindgen (JS) import on wasm32-unknown-unknown.
35[patch.crates-io]
36fastrand = { path = "vendor/fastrand-2.5.0" }
37