Skip to content

Commit

Permalink
Add docstring handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Oct 1, 2024
1 parent 73765ba commit ff5ea42
Show file tree
Hide file tree
Showing 13 changed files with 253 additions and 58 deletions.
168 changes: 132 additions & 36 deletions lib/Cargo.lock

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

6 changes: 4 additions & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ log = "0.4.20"
once_cell = "1.19"
thiserror = "1.0"
# Version must match that used by uniffi-bindgen-go
uniffi = "0.25.0"
uniffi_macros = "0.25.0"
uniffi = { git = "https://github.com/NordSecurity/uniffi-rs.git", tag = "v0.3.1+v0.25.0" }
uniffi_bindgen = { git = "https://github.com/NordSecurity/uniffi-rs.git", tag = "v0.3.1+v0.25.0" }
uniffi_build = { git = "https://github.com/NordSecurity/uniffi-rs.git", tag = "v0.3.1+v0.25.0" }
uniffi_macros = { git = "https://github.com/NordSecurity/uniffi-rs.git", tag = "v0.3.1+v0.25.0" }

[patch.crates-io]
# https://github.com/BlockstreamResearch/rust-secp256k1-zkp/pull/48/commits
Expand Down
3 changes: 2 additions & 1 deletion lib/bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ breez-sdk-liquid = { path = "../core" }
log = { workspace = true }
uniffi = { workspace = true, features = [ "bindgen-tests", "cli" ] }
# Bindgen used by KMP, version has to match the one supported by KMP
uniffi_bindgen = "0.25.2"
uniffi_bindgen = { workspace = true }
uniffi_bindgen_kmp = { version = "0.25.2", package = "uniffi_bindgen" }
uniffi_bindgen_kotlin_multiplatform = { git = "https://gitlab.com/trixnity/uniffi-kotlin-multiplatform-bindings", rev = "e8e3a88df5b657787c1198425c16008232b26548" }
camino = "1.1.1"
thiserror = { workspace = true }
Expand Down
12 changes: 7 additions & 5 deletions lib/bindings/langs/react-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ edition = "2021"
anyhow = { version = "1.0.57", features = ["backtrace"] }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
uniffi = { version = "0.25.2", features = ["bindgen-tests", "cli"] }
uniffi_bindgen = "0.25.2"
uniffi_macros = "0.25.2"
uniffi = { workspace = true, features = ["bindgen-tests", "cli"] }
uniffi_bindgen = { workspace = true }
uniffi_macros = { workspace = true }
camino = "1.1.1"
log = { workspace = true }
serde = "*"
Expand All @@ -21,8 +21,10 @@ clap = { version = "3.2.22", features = ["derive"] }
heck = "0.4"
paste = "1.0"
once_cell = { workspace = true }
textwrap = "0.16"
regex = "1.11.0"

[build-dependencies]
uniffi_build = { version = "0.25.2" }
uniffi_bindgen = "0.25.2"
uniffi_build = { workspace = true }
uniffi_bindgen = { workspace = true }
anyhow = { version = "1.0.57", features = ["backtrace"] }
Loading

0 comments on commit ff5ea42

Please sign in to comment.