Skip to content
/ inert Public

Inert lets you use non-Sync values in Sync context

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

nox/inert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 20, 2019
7dd4d5d · Mar 20, 2019

History

62 Commits
Feb 13, 2019
Mar 19, 2019
Mar 18, 2019
Mar 18, 2019
Feb 13, 2019
Feb 21, 2019
Mar 19, 2019
Mar 18, 2019
Feb 13, 2019
Feb 13, 2019
Mar 20, 2019
Feb 13, 2019
Mar 6, 2019

Repository files navigation

Inert

This is a mechanism to access non-Sync values in a Sync way.

How is this sound?

When the user creates a &Inert<T> value from a &T, they must swear on the holy baguette that they won't use the T directly until all the Inert wrappers go away, while the various implementations of the NeutralizeUnsafe trait make sure that the non-Sync behaviour of the T cannot be observed through the wrapper.

How can I help?

Improve documentation, test the crate, make use of it.

About

Inert lets you use non-Sync values in Sync context

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages