Skip to content

Commit

Permalink
feat: re-export Url in starknet-providers
Browse files Browse the repository at this point in the history
This type is needed to initialize a JSON-RPC client. Having this type
re-exported makes it eaiser to use, as applications would not have to
import the `url` crate themselves nor worry about the version.
  • Loading branch information
xJonathanLEI committed Dec 10, 2023
1 parent 96c6803 commit 9004b09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions starknet-providers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ pub use jsonrpc::JsonRpcClient;

mod any;
pub use any::AnyProvider;

// Re-export
pub use url::Url;

0 comments on commit 9004b09

Please sign in to comment.