docs.rs failed to build mmtkvdb-0.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mmtkvdb-0.16.0
mmtkvdb
mmtkvdb
is a crate for Rust which provides a memory-mapped key-value
database. It uses LMDB and links with an existing liblmdb
on the system.
API Documentation
For documentation on how to use this crate, refer to the example in
src/lib.rs
.
License
See contained LICENSE
file (MIT License).
Changelog
- 2022-04-30: Version 0.0.5
- Method
EnvRo::txn
moved toEnv
trait and renamed toEnv::txn_ro
. - Method
EnvRw::txn
renamed toEnvRw::txn_rw
. - Improved documentation of
EnvRo
andEnvRw
(doc comment explains how to create them now, i.e. how to start a transaction)
- Method
- 2022-04-22: Version 0.0.4
- No longer use
PhantomData
to store unit-like structs which indicate constraints on key uniqueness inDbOptions
andDb
(KeysUnique
andKeysDuplicate
areCopy
now and contained directly) - Minor fixes in documentation
- Changed argument name for passing
DbOptions
toEnv::open_dbs
- Added link to
Sized
in doc comment on private traitIsType
- Changed argument name for passing
- No longer use
- 2022-04-16: Version 0.0.3
- Avoid transmute on references: To avoid issues with (possible) future
changes in Rust, the
storable
module doesn't usetransmute
on references anymore. Instead,std::slice::from_raw_parts
,std::str::from_utf8_unchecked
, andstr::as_bytes()
are used.
- Avoid transmute on references: To avoid issues with (possible) future
changes in Rust, the
- 2022-04-11: Version 0.0.2
- Moved
Storable
,StorableConstBytesLen
, andStorableWithOwned
traits to new (public)storable
module (butStorable
gets re-exported by crate-level module) - Added method to clear stale readers
- Improved documentation on (un)safety
- Avoid unnecessary re-alignment in some cases of
u8
andi8
- Make type
bool
storable (i.e. implementStorable
forbool
) - Added documentation comments for private items
- Code cleanup (moved private
IsType
trait tohelpers
module)
- Moved
- 2022-04-10: Version 0.0.1
- First release