Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Putting DatagenProvider behind a feature #4800

Merged
merged 10 commits into from
Apr 17, 2024

Conversation

robertbastian
Copy link
Member

@robertbastian robertbastian commented Apr 12, 2024

@robertbastian robertbastian requested review from sffc, Manishearth and a team as code owners April 12, 2024 11:06
Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start. Still needs some work to make CI pass.

provider/datagen/src/provider.rs Show resolved Hide resolved
provider/datagen/src/transform/cldr/source.rs Outdated Show resolved Hide resolved
provider/datagen/src/transform/cldr/time_zones/convert.rs Outdated Show resolved Hide resolved
provider/datagen/src/lib.rs Show resolved Hide resolved
@@ -32,7 +32,7 @@ pub struct NoFallbackOptions {}
/// the locale fallback algorithm. If internal fallback is requested for an exporter that does
/// not support it, an error will occur.
#[non_exhaustive]
#[derive(Debug, Copy, Clone, PartialEq, Eq, serde::Deserialize, serde::Serialize, Hash)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thought: I guess removing these impls is technically a breaking change. I might be okay with it though

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is breaking, this would be the only reason for the driver crate to need serde...

provider/datagen/src/driver.rs Show resolved Hide resolved
@robertbastian robertbastian merged commit 2ac5c2b into unicode-org:main Apr 17, 2024
30 checks passed
@robertbastian robertbastian deleted the dgg branch May 7, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants