From 75e99691f2abc016ead736f00321d87f750eebf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 24 Nov 2023 16:18:09 +0100 Subject: [PATCH 1/2] Fix some documentation warnings --- heed/src/iterator/iter.rs | 4 ++-- heed/src/iterator/prefix.rs | 4 ++-- heed/src/iterator/range.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/heed/src/iterator/iter.rs b/heed/src/iterator/iter.rs index 933145e7..c05dcc7d 100644 --- a/heed/src/iterator/iter.rs +++ b/heed/src/iterator/iter.rs @@ -302,7 +302,7 @@ impl<'txn, KC, DC, IM> RwIter<'txn, KC, DC, IM> { /// Insert a key-value pair in this database. The entry is written with the specified flags and data codec. /// - /// For more info, see [`RwIter::put_current_with_flags`]. + /// For more info, see [`RwIter::put_current_with_options`]. /// /// # Safety /// @@ -648,7 +648,7 @@ impl<'txn, KC, DC, IM> RwRevIter<'txn, KC, DC, IM> { /// Insert a key-value pair in this database. The entry is written with the specified flags and data codec. /// - /// For more info, see [`RwIter::put_current_with_flags`]. + /// For more info, see [`RwIter::put_current_with_options`]. /// /// # Safety /// diff --git a/heed/src/iterator/prefix.rs b/heed/src/iterator/prefix.rs index 4223561d..35167a74 100644 --- a/heed/src/iterator/prefix.rs +++ b/heed/src/iterator/prefix.rs @@ -297,7 +297,7 @@ impl<'txn, KC, DC, C, IM> RwPrefix<'txn, KC, DC, C, IM> { /// Insert a key-value pair in this database. The entry is written with the specified flags and data codec. /// - /// For more info, see [`RwIter::put_current_with_flags`]. + /// For more info, see [`RwIter::put_current_with_options`]. /// /// # Safety /// @@ -684,7 +684,7 @@ impl<'txn, KC, DC, C, IM> RwRevPrefix<'txn, KC, DC, C, IM> { /// Insert a key-value pair in this database. The entry is written with the specified flags and data codec. /// - /// For more info, see [`RwIter::put_current_with_flags`]. + /// For more info, see [`RwIter::put_current_with_options`]. /// /// # Safety /// diff --git a/heed/src/iterator/range.rs b/heed/src/iterator/range.rs index 7d2677ca..85488103 100644 --- a/heed/src/iterator/range.rs +++ b/heed/src/iterator/range.rs @@ -306,7 +306,7 @@ impl<'txn, KC, DC, IM> RwRange<'txn, KC, DC, IM> { /// Insert a key-value pair in this database. The entry is written with the specified flags and data codec. /// - /// For more info, see [`RwIter::put_current_with_flags`]. + /// For more info, see [`RwIter::put_current_with_options`]. /// /// # Safety /// @@ -740,7 +740,7 @@ impl<'txn, KC, DC, IM> RwRevRange<'txn, KC, DC, IM> { /// Insert a key-value pair in this database. The entry is written with the specified flags and data codec. /// - /// For more info, see [`RwIter::put_current_with_flags`]. + /// For more info, see [`RwIter::put_current_with_options`]. /// /// # Safety /// From 64fd6fec293c0dee94855b8267557ce03e7ce5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 24 Nov 2023 16:19:15 +0100 Subject: [PATCH 2/2] Bump version to v0.20.0-alpha.8 --- heed-traits/Cargo.toml | 2 +- heed-types/Cargo.toml | 4 ++-- heed/Cargo.toml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/heed-traits/Cargo.toml b/heed-traits/Cargo.toml index 30abdb38..07d97cd8 100644 --- a/heed-traits/Cargo.toml +++ b/heed-traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heed-traits" -version = "0.20.0-alpha.7" +version = "0.20.0-alpha.8" authors = ["Kerollmops "] description = "The traits used inside of the fully typed LMDB wrapper, heed" license = "MIT" diff --git a/heed-types/Cargo.toml b/heed-types/Cargo.toml index 5b7926fc..10d5c1e9 100644 --- a/heed-types/Cargo.toml +++ b/heed-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heed-types" -version = "0.20.0-alpha.7" +version = "0.20.0-alpha.8" authors = ["Kerollmops "] description = "The types used with the fully typed LMDB wrapper, heed" license = "MIT" @@ -15,7 +15,7 @@ bytemuck = { version = "1.12.3", features = [ "extern_crate_std", ] } byteorder = "1.4.3" -heed-traits = { version = "0.20.0-alpha.7", path = "../heed-traits" } +heed-traits = { version = "0.20.0-alpha.8", path = "../heed-traits" } serde = { version = "1.0.151", optional = true } serde_json = { version = "1.0.91", optional = true } rmp-serde = { version = "1.1.2", optional = true } diff --git a/heed/Cargo.toml b/heed/Cargo.toml index be7ebdea..b18eeb0d 100644 --- a/heed/Cargo.toml +++ b/heed/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heed" -version = "0.20.0-alpha.7" +version = "0.20.0-alpha.8" authors = ["Kerollmops "] description = "A fully typed LMDB wrapper with minimum overhead" license = "MIT" @@ -14,8 +14,8 @@ edition = "2021" bitflags = { version = "2.3.3", features = ["serde"] } bytemuck = "1.12.3" byteorder = { version = "1.4.3", default-features = false } -heed-traits = { version = "0.20.0-alpha.7", path = "../heed-traits" } -heed-types = { version = "0.20.0-alpha.7", default-features = false, path = "../heed-types" } +heed-traits = { version = "0.20.0-alpha.8", path = "../heed-traits" } +heed-types = { version = "0.20.0-alpha.8", default-features = false, path = "../heed-types" } libc = "0.2.139" lmdb-master-sys = { version = "0.1.0", path = "../lmdb-master-sys" } once_cell = "1.16.0"