mbox 0.5.0

malloc-based box. Supports wrapping pointers or null-terminated strings returned from malloc as a Rust type, which will be free'd on drop.
Documentation
[package]
name = "mbox"
version = "0.5.0"
authors = ["kennytm <kennytm@gmail.com>"]
license = "MIT"
keywords = ["malloc", "free", "ffi", "box", "cstr"]
repository = "https://github.com/kennytm/mbox"
readme = "README.md"
description = """malloc-based box.

Supports wrapping pointers or null-terminated strings returned from malloc as a Rust type, which
will be free'd on drop.
"""

build = "build.rs"
exclude = [".travis.yml", "appveyor.yml", "appveyor.bat", ".gitignore", ".gitattributes"]

[badges]
travis-ci = { repository = "kennytm/mbox" }
appveyor = { repository = "kennytm/mbox" }
is-it-maintained-issue-resolution = { repository = "kennytm/mbox" }
is-it-maintained-open-issues = { repository = "kennytm/mbox" }
coveralls = { repository = "kennytm/mbox" }

[dependencies]
libc = "0.2"
stable_deref_trait = { version = "1.0", default-features = false }

[build-dependencies]
rustc_version = "0.2"

[features]
default = ["std"]
std = []