oficina / docs Public

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

Plain git — no account needed to clone.

Download

Download this file

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