-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (45 loc) · 1.62 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "lmdb-sys2"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.11.2"
authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>", "GR Digital <contact@grdigital.co.uk>"]
license = "Apache-2.0"
description = "Rust bindings for liblmdb."
documentation = "https://docs.rs/lmdb-sys2"
homepage = "https://github.com/GRDigital/lmdb-sys"
repository = "https://github.com/GRDigital/lmdb-sys.git"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
categories = ["database", "external-ffi-bindings"]
# NB: Use "--features bindgen" to generate bindings.
build = "build.rs"
[lib]
name = "lmdb_sys"
[dependencies]
libc = "0.2"
[build-dependencies]
pkg-config = "0.3"
cc = "1"
bindgen = { version = "0.66", default-features = false, optional = true, features = ["runtime"] }
[features]
default = []
with-asan = []
with-fuzzer = []
with-fuzzer-no-link = []
# These features configure the MDB_IDL_LOGN macro, which determines
# the size of the free and dirty page lists (and thus the amount of memory
# allocated when opening an LMDB environment in read-write mode).
#
# Each feature defines MDB_IDL_LOGN as the value in the name of the feature.
# That means these features are mutually exclusive, and you must not specify
# more than one at the same time (or the crate will fail to compile).
#
# For more information on the motivation for these features (and their effect),
# see https://github.com/mozilla/lmdb/pull/2.
mdb_idl_logn_8 = []
mdb_idl_logn_9 = []
mdb_idl_logn_10 = []
mdb_idl_logn_11 = []
mdb_idl_logn_12 = []
mdb_idl_logn_13 = []
mdb_idl_logn_14 = []
mdb_idl_logn_15 = []