1. Only showing results from lib.rs

    Clear filter to show all search results

  2. See also: phantom-type, rt_ref, any_vec, qcell, sparsey, wasm_thread, gearbox, sledgehammer_bindgen, threadbound, force-send-sync, sync-ptr Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  3. Oct 12, 2023Command handlers are responsible for handling commands in an application, the response of which is sent directly to clients. Commands are imperative in nature, meaning they specify what should be done. ... ServiceError> + Send + Sync + 'static> //injected dependency)-> Result<ServiceResponse, ServiceError> {let mut uow = UnitOfWork:: ...
  4. This is so that you can use them with general purpose libraries that also work on WASM but that require a connection to be Send/Sync. Currently WASM has no threads though and most underlying types we use aren't Send. The solution for the moment is to use send_wrapper::SendWrapper. This will panic if it's ever dereferenced on a different thread ...
  5. Jan 24, 2025We choose non-thread-safe interior mutability via UnsafeCell which avoids atomics, but makes SecretScalar only Send but !Sync. As Mutex<T: Send>: Send+Sync, one should prefer Mutex<SecretKey> over cloning SecretScalar, simply to minimize clones of secret keys. Dependencies ~6MB ~98K SLoC. ark-ec; ark-ff; ark-serialize + derive;
  6. Jun 23, 2023Force Send Sync. Tells the compiler things are Send and/or Sync. Reasons not to use this crate. If you should not know what Send and Sync means this crate is likely not what you are looking for. Usecases for this are extremly rare. This crate is unlikely to solve your problem and much more likely to turn the problem you have into a much messier ...
  7. See also: phantom-type, rt_ref, rust-analyzer-salsa, anymap2, threadbound, any_vec, qcell, starlark, sparsey, force-send-sync, sync-ptr Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  8. Sep 24, 2023See also: gix-lock, pep508_rs, marker_api, ra_ap_test_utils, stable_deref_trait, marker_uitest, mdbook-toc, cargo_marker, cfg-if, tiny-fn, with_builtin_macros Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  9. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX