Don't use bindgen's default features, and use old syn and quote until the rest of mozilla-central updates to 1.0. (#68)

This prevents dependencies like which to be built, which is unnecessary, and
avoids duplicate versions of syn / quote in Gecko.
without.crypto lmdb-rkv-sys-0.9.4
Emilio Cobos Álvarez 5 years ago committed by Victor Porof
parent a0f3c05434
commit bab675502f
  1. 4
      lmdb-sys/Cargo.toml
  2. 2
      lmdb-sys/src/lib.rs

@ -1,7 +1,7 @@
[package] [package]
name = "lmdb-rkv-sys" name = "lmdb-rkv-sys"
# NB: When modifying, also modify html_root_url in lib.rs # NB: When modifying, also modify html_root_url in lib.rs
version = "0.9.3" version = "0.9.4"
authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>"] authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "Rust bindings for liblmdb." description = "Rust bindings for liblmdb."
@ -29,7 +29,7 @@ libc = "0.2"
[build-dependencies] [build-dependencies]
pkg-config = "0.3" pkg-config = "0.3"
cc = "1.0" cc = "1.0"
bindgen = "0.51" bindgen = { version = "0.51-oldsyn", default-features = false }
[features] [features]
default = [] default = []

@ -1,7 +1,7 @@
#![deny(warnings)] #![deny(warnings)]
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![allow(clippy::all)] #![allow(clippy::all)]
#![doc(html_root_url = "https://docs.rs/lmdb-rkv-sys/0.9.3")] #![doc(html_root_url = "https://docs.rs/lmdb-rkv-sys/0.9.4")]
extern crate libc; extern crate libc;

Loading…
Cancel
Save