| Crates.io | dportable |
| lib.rs | dportable |
| version | 0.1.2 |
| created_at | 2025-05-04 11:20:50.716526+00 |
| updated_at | 2025-07-26 01:57:47.020919+00 |
| description | Portable interface for various utilities. |
| homepage | |
| repository | https://github.com/zduny/dportable |
| max_upload_size | |
| id | 1659545 |
| size | 40,132 |
https://crates.io/crates/dportable
Portable interface for various utilities.
Intended targets are:
Following features are provided:
Mutex and RwLock (using parking_lot on native platforms and std::cell::RefCell in WASM).spawn (not requiring Send in WASM) and sleep,Timeout future,dtest attribute macro to create tests for both
native and WASM targets, also dtest_configure
macro to configure tests to run in browser.create_non_sync_send_variant_for_wasm utility macro for creating
non-Send and non-Sync variants of traits for use in WASM.random function.