Skip to content

Commit 5e58014

Browse files
authored
Update dependencies, prepare release (#114)
1 parent 7d47427 commit 5e58014

28 files changed

+189
-120
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ inherits = "release"
2828
inherits = "wasm"
2929

3030
[workspace.package]
31-
version = "0.4.2"
32-
edition = "2021"
31+
version = "0.4.3"
32+
edition = "2024"
3333
authors = ["JourneyApps"]
3434
keywords = ["sqlite", "powersync"]
3535
license = "Apache-2.0"

android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313
}
1414

1515
group = "com.powersync"
16-
version = "0.4.2"
16+
version = "0.4.3"
1717
description = "PowerSync Core SQLite Extension"
1818

1919
val localRepo = uri("build/repository/")

android/src/prefab/prefab.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"name": "powersync_sqlite_core",
33
"schema_version": 2,
44
"dependencies": [],
5-
"version": "0.4.2"
5+
"version": "0.4.3"
66
}

crates/core/src/bson/de.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ use serde::{
99
};
1010

1111
use super::{
12+
BsonError,
1213
error::ErrorKind,
1314
parser::{ElementType, Parser},
14-
BsonError,
1515
};
1616

1717
pub struct Deserializer<'de> {

crates/core/src/bson/error.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use alloc::{
44
boxed::Box,
55
string::{String, ToString},
66
};
7-
use serde::de::{self, StdError};
7+
use serde::de::{self};
88

99
use super::parser::ElementType;
1010

@@ -97,4 +97,3 @@ impl de::Error for BsonError {
9797
BsonError::new(None, ErrorKind::Custom(msg.to_string()))
9898
}
9999
}
100-
impl StdError for BsonError {}

crates/core/src/bson/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use core::ffi::CStr;
22

3-
use super::{error::ErrorKind, BsonError};
3+
use super::{BsonError, error::ErrorKind};
44
use num_traits::{FromBytes, Num};
55

66
pub struct Parser<'de> {

crates/core/src/checkpoint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use sqlite_nostd::{Connection, Context, Value};
1212

1313
use crate::create_sqlite_text_fn;
1414
use crate::error::PowerSyncError;
15-
use crate::sync::checkpoint::{validate_checkpoint, OwnedBucketChecksum};
15+
use crate::sync::checkpoint::{OwnedBucketChecksum, validate_checkpoint};
1616
use crate::sync::line::Checkpoint;
1717

1818
#[derive(Serialize)]

crates/core/src/crud_vtab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extern crate alloc;
33
use alloc::boxed::Box;
44
use alloc::sync::Arc;
55
use const_format::formatcp;
6-
use core::ffi::{c_char, c_int, c_void, CStr};
6+
use core::ffi::{CStr, c_char, c_int, c_void};
77
use core::sync::atomic::Ordering;
88
use serde::Serialize;
99
use serde_json::value::RawValue;

crates/core/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use alloc::{
66
string::{String, ToString},
77
};
88
use num_traits::FromPrimitive;
9-
use sqlite_nostd::{self as sqlite, context, sqlite3, Connection, Context, ResultCode};
9+
use sqlite_nostd::{self as sqlite, Connection, Context, ResultCode, context, sqlite3};
1010
use thiserror::Error;
1111

1212
use crate::{

0 commit comments

Comments
 (0)