diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-09-09 07:33:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 14:33:16 +0000 |
commit | 8842fe9df580c4458d8ffe0247e49bae846ce6b6 (patch) | |
tree | 481598d26121c6fd2885167e569969410671dc51 /python/servo/command_base.py | |
parent | 687f356db9dc0ac9f50cf172e5c44aca581d3ee7 (diff) | |
download | servo-8842fe9df580c4458d8ffe0247e49bae846ce6b6.tar.gz servo-8842fe9df580c4458d8ffe0247e49bae846ce6b6.zip |
script: Use `time@0.3` for input elements and do conversion in a &str trait (#33355)
This changes converts all input element parsing and normalization to use
`time` instead of `chrono`. `time` is used by our dependencies, so it
makes sense to work toward removing the Servo dependency on chrono.
In addition, parsing and normalization also moves to a trait on &str to
prepare for the possibility of all script parsers moving to a separate
crate that can have unit tests written against it.
Code duplication is eliminated when possible and more conversion is done
using integer types. These two things together mean we pass more tests
now.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'python/servo/command_base.py')
0 files changed, 0 insertions, 0 deletions