Skip to content

Commit d9eae0e

Browse files
committed
Update libsql dependency
1 parent e28d449 commit d9eae0e

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
1212

1313
[dependencies]
1414
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
15-
libsql = { version = "0.9.13", features = ["encryption"] }
15+
libsql = { version = "0.9.14", features = ["encryption"] }
1616
tracing = "0.1"
1717
once_cell = "1.18.0"
1818
tokio = { version = "1.29.1", features = [ "rt-multi-thread" ] }

src/database.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Database {
4444
let encryption_context = libsql::EncryptionContext {
4545
key: libsql::EncryptionKey::Base64Encoded(remote_encryption_key),
4646
};
47-
builder = builder.remote_encryption(Some(encryption_context));
47+
builder = builder.remote_encryption(encryption_context);
4848
}
4949
rt.block_on(builder.build())
5050
} else {
@@ -117,7 +117,7 @@ impl Database {
117117
let encryption_context = libsql::EncryptionContext {
118118
key: libsql::EncryptionKey::Base64Encoded(remote_encryption_key),
119119
};
120-
builder = builder.remote_encryption(Some(encryption_context));
120+
builder = builder.remote_encryption(encryption_context);
121121
}
122122
builder.build().await
123123
})
@@ -134,7 +134,7 @@ impl Database {
134134
let encryption_context = libsql::EncryptionContext {
135135
key: libsql::EncryptionKey::Base64Encoded(remote_encryption_key),
136136
};
137-
builder = builder.remote_encryption(Some(encryption_context));
137+
builder = builder.remote_encryption(encryption_context);
138138
}
139139
builder.build().await
140140
})

0 commit comments

Comments
 (0)