Compare commits

...

4 commits

Author SHA1 Message Date
0fe54ca21a Update dependencies 2025-02-20 22:30:18 +01:00
3be330db3f Bump version to 0.5.0 2024-09-04 00:34:57 +02:00
eb97fd22d9 Update dependencies 2024-09-04 00:34:57 +02:00
0c2e8e2ae5 Fix doc comment 2024-09-04 00:34:57 +02:00
3 changed files with 15 additions and 5 deletions

View file

@ -14,6 +14,16 @@ Procedure when bumping the version number:
## Unreleased ## Unreleased
### Changed
- **(breaking)** Bumped `rusqlite` dependency from `0.32` to `0.33`
## v0.5.0 - 2024-09-04
### Changed
- **(breaking)** Bumped `rusqlite` dependency from `0.31` to `0.32`
## v0.4.0 - 2024-02-23 ## v0.4.0 - 2024-02-23
### Changed ### Changed

View file

@ -1,6 +1,6 @@
[package] [package]
name = "vault" name = "vault"
version = "0.4.0" version = "0.5.0"
edition = "2021" edition = "2021"
[features] [features]
@ -8,6 +8,6 @@ serde = ["dep:serde"]
tokio = ["dep:tokio"] tokio = ["dep:tokio"]
[dependencies] [dependencies]
rusqlite = "0.31.0" rusqlite = "0.33.0"
serde = { version = "1.0.197", optional = true } serde = { version = "1.0.209", optional = true }
tokio = { version = "1.36.0", features = ["sync"], optional = true } tokio = { version = "1.40.0", features = ["sync"], optional = true }

View file

@ -34,13 +34,13 @@ impl SimpleVault {
/// ///
/// The `prepare` parameter allows access to the database after all /// The `prepare` parameter allows access to the database after all
/// migrations have occurred. This parameter could be replaced by executing /// migrations have occurred. This parameter could be replaced by executing
/// an [`Action`] performing the same operations.
/// ///
/// It is recommended to set a few pragmas before calling this function, for /// It is recommended to set a few pragmas before calling this function, for
/// example: /// example:
/// - `journal_mode` to `"wal"` /// - `journal_mode` to `"wal"`
/// - `foreign_keys` to `true` /// - `foreign_keys` to `true`
/// - `trusted_schema` to `false` /// - `trusted_schema` to `false`
/// an [`Action`] performing the same operations.
pub fn new_and_prepare( pub fn new_and_prepare(
mut conn: Connection, mut conn: Connection,
migrations: &[Migration], migrations: &[Migration],