Skip to content

Commit

Permalink
icu_registry -> icu_provider_registry (unicode-org#5177)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian authored Jul 8, 2024
1 parent c8a8801 commit 2936110
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 29 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ icu_provider_adapters = { version = "~1.5.0", path = "provider/adapters", defaul
icu_provider_baked = { version = "~1.5.0", path = "provider/baked", default-features = false }
icu_provider_blob = { version = "~1.5.0", path = "provider/blob", default-features = false }
icu_provider_fs = { version = "~1.5.0", path = "provider/fs/", default-features = false }
icu_registry = { version = "~1.5.0", path = "provider/registry/", default-features = false }
icu_provider_registry = { version = "~1.5.0", path = "provider/registry/", default-features = false }

# Baked data
icu_calendar_data = { version = "~1.5.0", path = "provider/data/calendar", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions components/icu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ icu_timezone = { workspace = true }
icu_experimental = { workspace = true, optional = true }

# For markers_from_bin
icu_registry = { workspace = true, optional = true }
icu_provider_registry = { workspace = true, optional = true }
memchr = { workspace = true, optional = true }

# For docs links and features
Expand Down Expand Up @@ -113,7 +113,7 @@ compiled_data = [
]
datagen = [
"std",
"dep:icu_registry",
"dep:icu_provider_registry",
"dep:memchr",
"icu_calendar/datagen",
"icu_casemap/datagen",
Expand Down
2 changes: 1 addition & 1 deletion components/icu/src/datagen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ macro_rules! cb {
}
}
}
icu_registry::registry!(cb);
icu_provider_registry::registry!(cb);

/// Parses a compiled binary and returns a list of [`DataMarkerInfo`]s that it uses *at runtime*.
///
Expand Down
4 changes: 2 additions & 2 deletions provider/baked/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ zerotrie = { workspace = true, features = ["alloc"] }

crlify = { workspace = true, optional = true }
databake = { workspace = true, optional = true}
icu_registry = { workspace = true, optional = true }
icu_provider_registry = { workspace = true, optional = true }
log = { workspace = true, optional = true }
proc-macro2 = { workspace = true, optional = true }
heck = { workspace = true, optional = true }
Expand All @@ -36,7 +36,7 @@ export = [
"dep:crlify",
"dep:databake",
"dep:heck",
"dep:icu_registry",
"dep:icu_provider_registry",
"dep:log",
"dep:proc-macro2",
"icu_provider/export",
Expand Down
2 changes: 1 addition & 1 deletion provider/baked/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -744,4 +744,4 @@ macro_rules! cb {
}
}
}
icu_registry::registry!(cb);
icu_provider_registry::registry!(cb);
2 changes: 1 addition & 1 deletion provider/icu4x-datagen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ icu_provider = { workspace = true }
icu = { workspace = true, features = ["datagen"] }
icu_provider_export = { workspace = true, features = ["rayon"] }
icu_provider_source = { workspace = true, optional = true }
icu_registry = { workspace = true }
icu_provider_registry = { workspace = true }

icu_provider_blob = { workspace = true, features = ["export"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion provider/icu4x-datagen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ macro_rules! cb {
);
}
}
icu_registry::registry!(cb);
icu_provider_registry::registry!(cb);

#[cfg(feature = "blob_input")]
use icu_provider::buf::DeserializingBufferProvider;
Expand Down
2 changes: 1 addition & 1 deletion provider/registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

[package]
name = "icu_registry"
name = "icu_provider_registry"
version.workspace = true
rust-version.workspace = true
authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion provider/registry/README.md

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

2 changes: 1 addition & 1 deletion provider/source/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ icu_collections = { workspace = true, features = ["serde"] }
icu_pattern = { workspace = true, features = ["alloc"] }
icu_provider = { workspace = true, features = ["std", "logging", "export"]}
icu_provider_adapters = { workspace = true }
icu_registry = { workspace = true }
icu_provider_registry = { workspace = true }
litemap = { workspace = true, features = ["serde"] }
tinystr = { workspace = true, features = ["alloc", "serde", "zerovec"] }
writeable = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion provider/source/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ macro_rules! cb {
], icu_provider::any::AnyMarker);
}
}
icu_registry::registry!(cb);
icu_provider_registry::registry!(cb);

icu_provider::marker::impl_data_provider_never_marker!(SourceDataProvider);

Expand Down
2 changes: 1 addition & 1 deletion provider/source/src/tests/make_testdata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl DataExporter for ZeroCopyCheckExporter {
};
}
}
icu_registry::registry!(cb);
icu_provider_registry::registry!(cb);

if payload_before != &payload_after {
self.rountrip_errors.lock().expect("poison").insert((
Expand Down
4 changes: 2 additions & 2 deletions tools/depcheck/src/allowlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub const EXTRA_DATAGEN_BIKESHED_DEPS: &[&str] = &[
"icu_pattern",
"icu_provider_adapters",
"icu_provider_baked",
"icu_registry",
"icu_provider_registry",
"itertools",
"itoa",
"matrixmultiply",
Expand All @@ -190,7 +190,7 @@ pub const EXTRA_DATAGEN_DEPS: &[&str] = &[
"databake",
"databake-derive",
"erased-serde",
"icu_registry",
"icu_provider_registry",
"postcard",
];

Expand Down
2 changes: 1 addition & 1 deletion tutorials/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ icu_provider_adapters = { path = "../provider/adapters" }
icu_provider_baked = { path = "../provider/baked" }
icu_provider_blob = { path = "../provider/blob" }
icu_provider_fs = { path = "../provider/fs/" }
icu_registry = { path = "../provider/registry/" }
icu_provider_registry = { path = "../provider/registry/" }
icu4x-datagen = { path = "../provider/icu4x-datagen/" }

# Baked data
Expand Down

0 comments on commit 2936110

Please sign in to comment.