utils (crypto): fix cargo tests
This commit is contained in:
parent
5b79b4f7e2
commit
c7a909fcb7
|
@ -290,6 +290,7 @@ version = "0.24.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "898745e570c7d0453cc1fbc4a701eb6c662ed54e8fec8b7d14be137ebeeb9d14"
|
checksum = "898745e570c7d0453cc1fbc4a701eb6c662ed54e8fec8b7d14be137ebeeb9d14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"cc",
|
||||||
"pkg-config",
|
"pkg-config",
|
||||||
"vcpkg",
|
"vcpkg",
|
||||||
]
|
]
|
||||||
|
|
|
@ -32,7 +32,7 @@ impl Database {
|
||||||
/// let db = Database { conn: Connection::open_in_memory().unwrap() };
|
/// let db = Database { conn: Connection::open_in_memory().unwrap() };
|
||||||
/// let user = User::new("medzik", "SuperSecretPassword123").unwrap();
|
/// let user = User::new("medzik", "SuperSecretPassword123").unwrap();
|
||||||
///
|
///
|
||||||
/// db.conn.execute(&fs::read_to_string("../template.sql").unwrap(), []).unwrap();
|
/// db.conn.execute(&fs::read_to_string("../tables.sql").unwrap(), []).unwrap();
|
||||||
///
|
///
|
||||||
/// db.create_user(user).unwrap();
|
/// db.create_user(user).unwrap();
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in New Issue