From 53c64250a2be47d2fbb077feec0ba4a2d3a5419f Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 26 Oct 2021 09:39:52 +0200 Subject: [PATCH] Re-export gloo-utils from gloo (#159) * Re-export gloo-utils from gloo * Update contributing instructions `--all` argument to `cargo fmt` is not necessary, see https://github.com/rust-lang/rustfmt/issues/3911 --- CONTRIBUTING.md | 2 +- Cargo.toml | 1 + src/lib.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 61b71d8c..61fac3bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,7 +100,7 @@ cargo test -p my-particular-crate To (re)format the Gloo source code, run: ``` -$ cargo fmt --all +$ cargo fmt ``` ### Updating `README.md`s diff --git a/Cargo.toml b/Cargo.toml index e814ac52..29c56e73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,7 @@ gloo-dialogs = { version = "0.1.0", path = "crates/dialogs" } gloo-storage = { version = "0.2.0", path = "crates/storage" } gloo-render = { version = "0.1.0", path = "crates/render" } gloo-console = { version = "0.2.0", path = "crates/console" } +gloo-utils = { version = "0.1.0", path = "crates/utils" } [features] default = [] diff --git a/src/lib.rs b/src/lib.rs index 7c86d3af..c69ce7ee 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,3 +11,4 @@ pub use gloo_file as file; pub use gloo_render as render; pub use gloo_storage as storage; pub use gloo_timers as timers; +pub use gloo_utils as utils;