Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions provider/datagen/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions provider/datagen/src/bin/datagen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

use clap::{App, Arg, ArgGroup};
use clap::{crate_authors, crate_version, App, Arg, ArgGroup};
use eyre::WrapErr;
use icu_datagen::prelude::*;
use simple_logger::SimpleLogger;
use std::path::PathBuf;

fn main() -> eyre::Result<()> {
let matches = App::new("ICU4X Data Exporter")
.version("0.0.1")
.author("The ICU4X Project Developers")
.about("Export CLDR JSON into the ICU4X data schema")
let matches = App::new("icu4x-datagen")
.version(crate_version!())
.author(crate_authors!())
.about(concat!("Learn more at: https://docs.rs/icu_datagen/", crate_version!()))
.arg(
Arg::with_name("VERBOSE")
.short("v")
Expand Down
4 changes: 3 additions & 1 deletion provider/datagen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
//! Data files can be generated either programmatically (i.e. in `build.rs`), or through a
//! command-line utility.
//!
//!
#![doc = concat!("Also see our [datagen tutorial](https://github.com/unicode-org/icu4x/blob/icu%40", std::env!("CARGO_PKG_VERSION_MAJOR"), ".", std::env!("CARGO_PKG_VERSION_MINOR"), ".0/docs/tutorials/data_management.md)")]
//!
//! # Examples
//!
//! ## `build.rs`
Expand Down Expand Up @@ -44,7 +47,6 @@
//! > --format blob \
//! > --out data.postcard
//! ```

//! More details can be found by running `--help`.

#![cfg_attr(
Expand Down