diff --git a/Cargo.toml b/Cargo.toml index e8412c9..d9fb76a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "lmdb" +# NB: When modifying, also modify html_root_url in lib.rs version = "0.6.0" authors = ["Dan Burkert "] license = "Apache-2.0" diff --git a/lmdb-sys/Cargo.toml b/lmdb-sys/Cargo.toml index 6f625f1..67b12f3 100644 --- a/lmdb-sys/Cargo.toml +++ b/lmdb-sys/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "lmdb-sys" +# NB: When modifying, also modify html_root_url in lib.rs version = "0.6.0" authors = ["Dan Burkert "] license = "Apache-2.0" diff --git a/lmdb-sys/src/lib.rs b/lmdb-sys/src/lib.rs index 92e681a..55d1a2c 100644 --- a/lmdb-sys/src/lib.rs +++ b/lmdb-sys/src/lib.rs @@ -1,4 +1,6 @@ #![allow(non_camel_case_types)] +#![deny(warnings)] +#![doc(html_root_url = "https://docs.rs/lmdb-sys/0.6.0")] extern crate libc; diff --git a/src/lib.rs b/src/lib.rs index 60533f3..442b558 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,8 @@ //! [Symas Lightning Memory-Mapped Database (LMDB)](http://symas.com/mdb/). #![cfg_attr(test, feature(test))] +#![deny(warnings)] +#![doc(html_root_url = "https://docs.rs/lmdb/0.6.0")] extern crate libc; extern crate lmdb_sys as ffi;