-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
37 lines (34 loc) · 987 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
37
[package]
name = "opaque-pointer"
version = "0.9.0"
description = "Generic functions to work with opaque pointers when use FFI to expose Rust structs"
authors = [
"Jesus Hernandez <jesushdez@protonmail.com>",
"Dylan DPC",
]
license = "Unlicense"
keywords = ["opaque", "pointers", "cbindgen", "ffi", "no_std"]
categories = ["development-tools::ffi", "no-std"]
edition = "2021"
readme = "README.md"
repository = "https://github.com/jhg/opaque-pointer-rs/"
exclude = [
".github/**",
".vscode/**",
".idea/**",
"tests/**", # To reduce the package size, as tests are not needed to use it.
]
rust-version = "1.57.0" # For HashSet::try_reserve
[features]
default = ["std", "lender"]
std = []
lender = ["lazy_static"]
# If you do not use std then you need alloc feature
alloc = []
# Allow to use some FFI for C types
c-types = ["std"]
[dependencies]
log = "0.4"
lazy_static = { version = "1.4", optional = true }
[package.metadata.docs.rs]
features = ["std", "lender"]