Skip to content

Commit

Permalink
Merge pull request #132 from cryptoquick/HB/wasm
Browse files Browse the repository at this point in the history
WASM fixes.
  • Loading branch information
dr-orlovsky authored Feb 26, 2024
2 parents 84fdff0 + 6b692ed commit fd639e4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ members = [
]
default-members = [
"psbt",
"cli",
"fs",
"."
]
Expand All @@ -18,7 +17,7 @@ keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://lnp-bp.org"
repository = "https://github.com/RGB-WG/rgb-wallet"
repository = "https://github.com/RGB-WG/rgb"
rust-version = "1.67" # Due to strict encoding library
edition = "2021"
license = "Apache-2.0"
Expand Down Expand Up @@ -64,6 +63,7 @@ license.workspace = true

[lib]
name = "rgb_rt"
crate-type = ["cdylib", "rlib"]

[dependencies]
amplify = { workspace = true }
Expand Down Expand Up @@ -103,3 +103,4 @@ bp-wallet = { git = "https://github.com/BP-WG/bp-wallet", branch = "v0.11" }
rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "master" }
rgb-invoice = { git = "https://github.com/RGB-WG/rgb-std", branch = "v0.11" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "v0.11" }
bp-wallet = { git = "https://github.com/BP-WG/bp-wallet", branch = "v0.11" }
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ mod resolvers;

pub use descriptor::{DescriptorRgb, RgbDescr, RgbKeychain, TapTweakAlreadyAssigned, TapretKey};
pub use pay::{CompletionError, CompositionError, PayError, TransferParams};
#[cfg(any(feature = "electrum", feature = "esplora_blocking"))]
pub use resolvers::*;
pub use runtime::{ContractOutpointsFilter, Runtime, RuntimeError};
2 changes: 2 additions & 0 deletions src/resolvers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#[cfg(any(feature = "electrum", feature = "esplora_blocking"))]
mod any;
#[cfg(feature = "esplora_blocking")]
pub mod esplora_blocking;
#[cfg(feature = "electrum")]
pub mod electrum;

#[cfg(any(feature = "electrum", feature = "esplora_blocking"))]
pub use any::AnyResolver;

0 comments on commit fd639e4

Please sign in to comment.