Skip to content

Commit

Permalink
fix path for diesel-wasm-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Sep 5, 2024
1 parent 850af0f commit 5c83e62
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@ xmtp_id = { path = "xmtp_id" }
xmtp_mls = { path = "xmtp_mls" }
xmtp_proto = { path = "xmtp_proto" }

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

# patch needed until some items
# are made public for third-party dependencies: https://github.com/diesel-rs/diesel/pull/4236
# (cfg-specific patche support does not exist)
[patch.crates-io]
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" }
diesel-wasm-sqlite = { path = "../diesel-wasm-sqlite" }
diesel-wasm-sqlite = { path = "./diesel-wasm-sqlite" }

4 changes: 4 additions & 0 deletions bindings_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ diesel = { git = "https://github.com/xmtp/diesel", branch = "insipx/sqlite-repla
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" }
diesel-wasm-sqlite = { path = "../diesel-wasm-sqlite" }

[build]
target = "wasm32-unknown-unknown"

2 changes: 0 additions & 2 deletions xmtp_api_http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@ tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
tokio = { workspace = true, features = ["macros", "time"] }
wasm-bindgen-test.workspace = true

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

0 comments on commit 5c83e62

Please sign in to comment.