Compare commits
No commits in common. "master" and "v0.4.0" have entirely different histories.
3 changed files with 5 additions and 15 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -14,16 +14,6 @@ Procedure when bumping the version number:
|
|||
|
||||
## 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
|
||||
|
||||
### Changed
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "vault"
|
||||
version = "0.5.0"
|
||||
version = "0.4.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
|
|
@ -8,6 +8,6 @@ serde = ["dep:serde"]
|
|||
tokio = ["dep:tokio"]
|
||||
|
||||
[dependencies]
|
||||
rusqlite = "0.33.0"
|
||||
serde = { version = "1.0.209", optional = true }
|
||||
tokio = { version = "1.40.0", features = ["sync"], optional = true }
|
||||
rusqlite = "0.31.0"
|
||||
serde = { version = "1.0.197", optional = true }
|
||||
tokio = { version = "1.36.0", features = ["sync"], optional = true }
|
||||
|
|
|
|||
|
|
@ -34,13 +34,13 @@ impl SimpleVault {
|
|||
///
|
||||
/// The `prepare` parameter allows access to the database after all
|
||||
/// 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
|
||||
/// example:
|
||||
/// - `journal_mode` to `"wal"`
|
||||
/// - `foreign_keys` to `true`
|
||||
/// - `trusted_schema` to `false`
|
||||
/// an [`Action`] performing the same operations.
|
||||
pub fn new_and_prepare(
|
||||
mut conn: Connection,
|
||||
migrations: &[Migration],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue