Skip to content

Commit

Permalink
cargo: Make custom dependencies patches to published crates
Browse files Browse the repository at this point in the history
  • Loading branch information
strykejern committed Oct 16, 2024
1 parent c0d5d43 commit 9097bbe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ serde = { version = "1.0.210", features = ["derive"] }
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["sync"] }
serde_json = "1.0.128"
# Custom git revision to get support for json in reqwest and serde in postgrest
# TODO: Update to proper version when it's released
postgrest = { git = "https://github.com/strykejern/postgrest-rs.git", branch = "serde", features = ["serde"] }
postgrest = { version = "1.6.0" } #, features = ["serde"] }
log = "0.4.22"
# Custom git revision to support compilation for wasm
supabase-auth = "0.9.1"

[patch.crates-io]
# Custom git revision to get support for json in reqwest and serde in postgrest
# TODO: Update to proper version when it's released
postgrest = { git = "https://github.com/strykejern/postgrest-rs.git", branch = "serde-default" }
supabase-auth = { git = "https://github.com/strykejern/supabase-auth-rs", branch = "derives" }

[target.'cfg(target_family = "wasm")'.dependencies]
Expand Down

0 comments on commit 9097bbe

Please sign in to comment.