Skip to content

Commit 369e6f8

Browse files
authored
Merge pull request #8 from kacy/chore/update-dependencies
Update dependencies to latest versions
2 parents 169b5ed + d364df8 commit 369e6f8

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ homepage = "https://github.com/kacy/supabase-rust"
99
license = "MIT"
1010

1111
[dev-dependencies]
12-
rand = "0.8"
12+
rand = "0.9"
1313

1414
[dependencies]
15-
jsonwebtoken = "8.3.0"
16-
reqwest = { version = "0.11", features = ["json"] }
15+
jsonwebtoken = "9.3"
16+
reqwest = { version = "0.12", features = ["json"] }
1717
serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
19+
time = "0.3.37"
1920
tokio = { version = "1", features = ["full"] }

src/auth.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ mod tests {
226226

227227
#[tokio::test]
228228
async fn test_signup_email_password() {
229-
use rand::distributions::Alphanumeric;
230-
use rand::{thread_rng, Rng};
229+
use rand::distr::Alphanumeric;
230+
use rand::{rng, Rng};
231231

232232
let client = client();
233233

234-
let rand_string: String = thread_rng()
234+
let rand_string: String = rng()
235235
.sample_iter(&Alphanumeric)
236236
.take(20)
237237
.map(char::from)

src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl Supabase {
249249
/// // Delete
250250
/// client.from("users").delete().eq("id", "123").execute().await?;
251251
/// ```
252-
pub fn from(&self, table: impl Into<String>) -> QueryBuilder {
252+
pub fn from(&self, table: impl Into<String>) -> QueryBuilder<'_> {
253253
QueryBuilder::new(self, table)
254254
}
255255
}

0 commit comments

Comments
 (0)