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 committed Feb 26, 2024
2 parents 84fdff0 + 6b692ed commit ac5c2b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 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
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 ac5c2b9

Please sign in to comment.