Skip to content

Commit

Permalink
(chore) bump dependencies, fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Oct 4, 2024
1 parent c1c4da6 commit 3a5e52d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
# only run tests when related changes are made
paths:
- ".github/workflows/test-wasm.yml"
- ".github/workflows/test.yml"
- "src/**"
- "Cargo.toml"
- "Cargo.lock"
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.19.1
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ targets = ["wasm32-unknown-unknown"]
talc = { version = "4.4", default-features = false, features = ["lock_api"] }
diesel = { version = "2.2", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes"] }
diesel_derives = "2.2"
wasm-bindgen = "=0.2.92"
wasm-bindgen = "=0.2.93"
wasm-bindgen-futures = "0.4"
js-sys = { version = "0.3" }
tracing = "0.1"
tracing = { "0.1", default-features = false }
tokio = { version = "1.38", default-features = false, features = ["sync"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde-wasm-bindgen = "0.6"
thiserror = "1"

[dev-dependencies]
wasm-bindgen-test = "=0.3.43"
console_error_panic_hook = { version = "0.1"}
rand = "0.8"
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen-test = "0.3.42"
web-sys = { version = "0.3", features = ["console"] }
chrono = { version = "0.4", features = ["wasmbind", "serde"] }
diesel_migrations = "2.2"
Expand All @@ -45,9 +45,10 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "tracing-log"]
diesel = { git = "https://github.com/xmtp/diesel", branch = "insipx/sqlite-replace-ignore-pub" }
diesel_derives = { git = "https://github.com/xmtp/diesel", branch = "insipx/sqlite-replace-ignore-pub" }
diesel_migrations = { git = "https://github.com/xmtp/diesel", branch = "insipx/sqlite-replace-ignore-pub" }
wasm-bindgen = { git = "https://github.com/rustwasm/wasm-bindgen", branch = "main" }
# [profile.release]
# opt-level = "s"

[profile.release]
opt-level = "s"
lto = true

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
cargo-sweep
cargo-cache
cargo-machete
cargo-features-manager
cargo-bloat
cargo-mutants
cargo-deny
cargo-audit
chromedriver
geckodriver
] ++ lib.optionals isDarwin [
libiconv
frameworks.CoreServices
Expand Down
1 change: 0 additions & 1 deletion tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
use prelude::*;

use tokio::sync::OnceCell;
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};

static INIT: OnceCell<()> = OnceCell::const_new();

Expand Down

0 comments on commit 3a5e52d

Please sign in to comment.