Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arcnmx/uninitialized-rs
https://github.com/arcnmx/uninitialized-rs
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arcnmx/uninitialized-rs
- Owner: arcnmx
- License: mit
- Created: 2016-07-09T18:51:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-12T01:00:37.000Z (over 8 years ago)
- Last Synced: 2024-04-24T13:10:58.956Z (7 months ago)
- Language: Rust
- Size: 555 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# uninitialized-rs
[![travis-badge][]][travis] [![release-badge][]][cargo] [![docs-badge][]][docs] [![license-badge][]][license]
`uninitialized` provides `std::mem::uninitialized()` behaviour only when a
project is willing to take the risk of uninitialized data being passed to
external interfaces. By default it is equivalent to `std::mem::zeroed()`.## Enabling uninitialized
The feature `uninitialized` may be turned on to revert to the unsafe behaviour.
Optionally, the `UNSAFE_UNINITIALIZED=1` environment variable may be set at
build time.## [Documentation][docs]
See the [documentation][docs] for up to date information.
[travis-badge]: https://img.shields.io/travis/arcnmx/uninitialized-rs/master.svg?style=flat-square
[travis]: https://travis-ci.org/arcnmx/uninitialized-rs
[release-badge]: https://img.shields.io/crates/v/uninitialized.svg?style=flat-square
[cargo]: https://crates.io/crates/uninitialized
[docs-badge]: https://img.shields.io/badge/API-docs-blue.svg?style=flat-square
[docs]: http://arcnmx.github.io/uninitialized-rs/uninitialized/
[license-badge]: https://img.shields.io/badge/license-MIT-ff69b4.svg?style=flat-square
[license]: https://github.com/arcnmx/uninitialized-rs/blob/master/COPYING