cuprate/database/src
hinto-janai 88d40ef401
database: docs & small fixes for Config (#77)
* config: `ReaderThreads::from(0)` -> `ReaderThreads::OnePerThread`

* config: all docs, impl `as_threads()`

* config: fix doc link

* config: add `db_directory()` and make field private

* config: remove `P: AsRef<Path>`

We need a `PathBuf` anyway, make the caller create one.

* config: impl `Debug`, add `Config::default()` test

* config: more docs

* fix doc links

* config: review fix

* Update database/src/config.rs

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-02-26 23:40:13 +00:00
..
backend database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
ops Database (#35) 2024-02-13 17:43:25 +00:00
service database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
config.rs database: docs & small fixes for Config (#77) 2024-02-26 23:40:13 +00:00
constants.rs database: docs & small fixes for Config (#77) 2024-02-26 23:40:13 +00:00
database.rs Database (#35) 2024-02-13 17:43:25 +00:00
env.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
error.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
free.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
key.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
lib.rs database: docs & small fixes for Config (#77) 2024-02-26 23:40:13 +00:00
macros.rs Database (#35) 2024-02-13 17:43:25 +00:00
pod.rs database: move Pod bound from Table -> Key (#61) 2024-02-13 22:21:10 +00:00
resize.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
table.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
tables.rs database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
transaction.rs Database (#35) 2024-02-13 17:43:25 +00:00