asynx 0.1.0

Library that helps you to simulate exception without `panic` in async Rust.
Documentation
  • Coverage
  • 100%
    19 out of 19 items documented8 out of 16 items with examples
  • Size
  • Source code size: 43.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.88 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Jason5Lee/asynx
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Jason5Lee

ASYNc eXecption

Simulate exception without panic in async Rust.

DISCLAIMER: This crate is just to implement my idea. It may not be a good practice.

Use in your project:

[dependencies]
asynx = "0.1"

Check docs.rs docs for usage.

You can use it in no_std environment by

[dependencies]
asynx = { version = "0.1", default-features = false }

which will disable global implementation.

Check this blog for the main idea.

WARNING: The sync implementation under asynx::sync has many unsafe code. Use it as your own risk.

License

This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).