-
Notifications
You must be signed in to change notification settings - Fork 58
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
parse-zoneinfo: replace rule parser with simple state machine #172
base: main
Are you sure you want to change the base?
Changes from all commits
3dc14b5
413d981
2833191
e9a5ccb
30164b7
40c40db
720830c
a538210
0a7f262
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,5 @@ readme = "README.md" | |
license = "MIT" | ||
keywords = ["date", "time", "timezone", "zone", "calendar"] | ||
|
||
[dependencies.regex] | ||
version = "1.3.1" | ||
default-features = false | ||
features = ["std", "unicode-perl"] | ||
[dev-dependencies] | ||
insta = "1.38" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand why you added this test. Not sure about it though. Would it be better to add this test as a separate crate in the workspace? |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,15 @@ pub mod line; | |
pub mod structure; | ||
pub mod table; | ||
pub mod transitions; | ||
|
||
pub const FILES: &[&str] = &[ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure we want to hardcode this list in parse-zoneinfo. For my personal experiments the past year I removed Maybe move the change out of this PR so we can discuss it separately? |
||
"africa", | ||
"antarctica", | ||
"asia", | ||
"australasia", | ||
"backward", | ||
"etcetera", | ||
"europe", | ||
"northamerica", | ||
"southamerica", | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking to make these changes in my next PR 👍.