forked from kennytm/mbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (31 loc) · 859 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "mbox"
version = "0.7.1"
authors = ["kennytm <[email protected]>"]
edition = "2018"
rust-version = "1.36.0"
license = "MIT"
keywords = ["malloc", "free", "ffi", "box", "cstr"]
categories = [
"api-bindings",
"development-tools::ffi",
"memory-management",
"no-std",
"os",
]
repository = "https://github.com/kennytm/mbox"
documentation = "https://docs.rs/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.
"""
exclude = [".gitignore", ".github"]
[dependencies]
libc = "0.2"
# Feature provided as a way to cut down on dependencies
stable_deref_trait = { version = "1.0", optional = true, default-features = false }
[features]
default = ["std", "stable_deref_trait"]
std = []
nightly = []