Merge pull request #1509 from shamardy/main
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Wed, 1 Jun 2022 22:54:46 +0000 (15:54 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Jun 2022 22:54:46 +0000 (15:54 -0700)
Update regex to 1.5.6

lightning-invoice/Cargo.toml
lightning/src/lib.rs

index f65d7ac886992dd488e7ed449486d755067d41ae..9382d66303f05fae9947549b12b0ddbba8e21b16 100644 (file)
@@ -7,6 +7,7 @@ documentation = "https://docs.rs/lightning-invoice/"
 license = "MIT OR Apache-2.0"
 keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ]
 readme = "README.md"
+repository = "https://github.com/lightningdevkit/rust-lightning/"
 
 [package.metadata.docs.rs]
 all-features = true
index 3f88a208e9d00da1976fafd6e42fbbf6c6ace030..ba6d6bc71910e53ad37236dc30b6e19cd947a4d9 100644 (file)
@@ -78,9 +78,11 @@ pub mod ln;
 pub mod routing;
 
 #[cfg(feature = "std")]
-use std::io;
+/// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag.
+pub use std::io;
 #[cfg(not(feature = "std"))]
-use core2::io;
+/// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag.
+pub use core2::io;
 
 #[cfg(not(feature = "std"))]
 mod io_extras {