Safe Rust bindings for LMDB with encryption at rest
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#![deny(warnings)]
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
#![allow(clippy::all)]
|
|
|
|
#![doc(html_root_url = "https://docs.rs/lmdb-rkv-sys/0.10.1")]
|
|
|
|
|
|
|
|
extern crate libc;
|
|
|
|
|
|
|
|
#[cfg(unix)]
|
|
|
|
#[allow(non_camel_case_types)]
|
|
|
|
pub type mode_t = ::libc::mode_t;
|
|
|
|
#[cfg(windows)]
|
|
|
|
#[allow(non_camel_case_types)]
|
|
|
|
pub type mode_t = ::libc::c_int;
|
|
|
|
|
|
|
|
#[cfg(unix)]
|
|
|
|
#[allow(non_camel_case_types)]
|
|
|
|
pub type filehandle_t = ::libc::c_int;
|
|
|
|
#[cfg(windows)]
|
|
|
|
#[allow(non_camel_case_types)]
|
|
|
|
pub type filehandle_t = *mut ::libc::c_void;
|
|
|
|
|
|
|
|
include!("bindings.rs");
|