Skip to content

Commit cb40a41

Browse files
chore: v1.2.0-rc.9
Signed-off-by: Henry Gressmann <[email protected]>
1 parent 3e51149 commit cb40a41

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ reqwest={version="0.12", default-features=false, features=[
6363
"charset",
6464
"rustls-tls-webpki-roots-no-provider",
6565
]}
66-
rustls={version="0.23"}
66+
rustls={version="0.23", features=["aws_lc_rs"]}
6767

6868
# database
6969
duckdb={git="https://github.com/explodingcamera-contrib/duckdb-rs", features=[

scripts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN echo "Downloading liwan for ${TARGETPLATFORM}..." \
1111
&& tar -xzf /tmp/package.tar.gz -C /app \
1212
&& chmod +x /app/liwan
1313

14-
FROM scratch
14+
FROM alpine:3
1515

1616
ENV LIWAN_CONFIG=/liwan.config.toml
1717
ENV LIWAN_DATA_DIR=/data

src/app/db.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ pub(super) fn init_duckdb(
3434
{
3535
let conn = pool.get()?;
3636
conn.execute_batch("PRAGMA enable_checkpoint_on_shutdown;")?;
37-
conn.pragma_update(None, "autoload_known_extensions", &"false")?;
37+
conn.pragma_update(None, "autoload_known_extensions", &"true")?;
38+
conn.pragma_update(None, "allow_community_extensions", &"false")?;
3839
}
3940

4041
{

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ use tracing_subscriber::EnvFilter;
99

1010
#[tokio::main(flavor = "multi_thread")]
1111
async fn main() -> Result<()> {
12+
rustls::crypto::aws_lc_rs::default_provider().install_default().expect("failed to install crypto provider");
13+
1214
let args = cli::args();
1315
setup_logger(args.log_level)?;
1416

0 commit comments

Comments
 (0)