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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
rust-version = "1.36.0"
name = "mbox"
version = "0.7.1"
authors = ["kennytm <kennytm@gmail.com>"]
exclude = [
".gitignore",
".github",
]
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.
"""
documentation = "https://docs.rs/mbox/"
readme = "README.md"
keywords = [
"malloc",
"free",
"ffi",
"box",
"cstr",
]
categories = [
"api-bindings",
"development-tools::ffi",
"memory-management",
"no-std",
"os",
]
license = "MIT"
repository = "https://github.com/kennytm/mbox"
[dependencies.libc]
version = "0.2"
[dependencies.stable_deref_trait]
version = "1.0"
optional = true
default-features = false
[features]
default = [
"std",
"stable_deref_trait",
]
nightly = []
std = []
|