Commit df6230c
chore!: reexport
PR addresses this TODO
near/near-sdk-rs#1253 (comment) ,
which later ~will be~ has been removed from `near-sdk` code, for cases:
1. when non-async function is required in `static
std::sync::OnceLock<T>/LazyLock<T, F>` creation like here
https://github.com/dj8yfo/near-sdk-rs/blob/7be211e1b2991f6c5b4db78972784dac2f066e32/examples/fungible-token/tests/workspaces.rs#L47
2. when non-default build is required like with `no-abi` here
https://github.com/dj8yfo/abstract-dao/blob/fe9d16797bf582f0ea24380c1e4ad6bdb8c97283/tests/common.rs#L33
PR avoids necessity to import `cargo-near-build` separately as a
dependency
PR should best be published with a major release, to avoid weird
breakage `0.14.1 -> 0.14.x`
Co-authored-by: dj8yf0μl <[email protected]>cargo-near-build for configurable build if needed (#386)1 parent 0f44e0b commit df6230c
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments