https://github.com/cmyr/gnudbm
Ergonomic Rust bindings for gdbm
https://github.com/cmyr/gnudbm
dbm gdbm rust
Last synced: 17 days ago
JSON representation
Ergonomic Rust bindings for gdbm
- Host: GitHub
- URL: https://github.com/cmyr/gnudbm
- Owner: cmyr
- Created: 2018-02-18T22:01:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-24T16:25:49.000Z (almost 4 years ago)
- Last Synced: 2025-03-25T12:41:20.025Z (about 1 month ago)
- Topics: dbm, gdbm, rust
- Language: Rust
- Size: 946 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gnudbm
See the [documentation] for details.
This project provides ergonomic and idiomatic Rust bindings to [gdbm],
a lightweight local key/value database. It allows easy storage and retrieval
of any type that implements `Serialize` and `Deserialize`.## Requirements
By default, this package includes a recent gdbm and builds it as a static lib.
If you would like to link against the system gdbm, ensure it is up to date
(1.14+) and build with the `system-gdbm` feature.## Usage
First, add the following to your `Cargo.toml`:
```toml
[dependencies]
gnudbm = "0.2.3"
```And to your crate root:
```rust
extern crate gnudbm;
```[gdbm]: http://puszcza.gnu.org.ua/software/gdbm
[from source]: https://www.gnu.org.ua/software/gdbm/download.html
[bindgen]: https://github.com/rust-lang-nursery/rust-bindgen
[bindgen requirements]: https://rust-lang-nursery.github.io/rust-bindgen/requirements.html
[documentation]: https://docs.rs/crate/gnudbm/