From 31e9ab1887830c998dc10120ffdf57c9d8e6b75c Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Thu, 3 Feb 2022 22:58:39 -0800 Subject: [PATCH 1/2] main.rs -> lib.rs --- tools/datagen/src/{main.rs => lib.rs} | 4 ---- 1 file changed, 4 deletions(-) rename tools/datagen/src/{main.rs => lib.rs} (96%) diff --git a/tools/datagen/src/main.rs b/tools/datagen/src/lib.rs similarity index 96% rename from tools/datagen/src/main.rs rename to tools/datagen/src/lib.rs index b891e07f76a..e91dc77713d 100644 --- a/tools/datagen/src/main.rs +++ b/tools/datagen/src/lib.rs @@ -48,7 +48,3 @@ //! --locales de \ //! --out /tmp/icu4x_data/work_log_json //! ``` - -fn main() { - panic!("Please run a more specific binary") -} From dea606bd919482104c4826354cfe87449ecc845e Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Thu, 3 Feb 2022 23:05:10 -0800 Subject: [PATCH 2/2] Empty registry.rs file --- tools/datagen/src/lib.rs | 2 ++ tools/datagen/src/registry.rs | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 tools/datagen/src/registry.rs diff --git a/tools/datagen/src/lib.rs b/tools/datagen/src/lib.rs index e91dc77713d..9583a9833de 100644 --- a/tools/datagen/src/lib.rs +++ b/tools/datagen/src/lib.rs @@ -48,3 +48,5 @@ //! --locales de \ //! --out /tmp/icu4x_data/work_log_json //! ``` + +mod registry; diff --git a/tools/datagen/src/registry.rs b/tools/datagen/src/registry.rs new file mode 100644 index 00000000000..b1b612c9955 --- /dev/null +++ b/tools/datagen/src/registry.rs @@ -0,0 +1,5 @@ +// This file is part of ICU4X. For terms of use, please see the file +// called LICENSE at the top level of the ICU4X source tree +// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). + +