Skip to content

Commit

Permalink
Merge pull request #15 from kevinpoitra/update-time
Browse files Browse the repository at this point in the history
Upgrade `time` to 0.2
  • Loading branch information
blackbeam authored Apr 13, 2020
2 parents 84fb478 + 93c0828 commit ef4dfab
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ regex = "1"
rust_decimal = "1.0"
sha1 = "0.6"
sha2 = "0.8"
time = "0.1"
time = { version = "0.2", default-features = false, features = ["std"] }
twox-hash = "1"
uuid = "0.8"
serde = "1"
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ column and protocol type correspondence:
| `Vec<u8>` | MySql bytes |
| `String` | MySql bytes parsed as utf8 |
| `Duration` (`std` and `time`) | MySql time or bytes parsed as MySql time string |
| `time::Timespec` | MySql date or bytes parsed as MySql date string |
| `time::OffsetDateTime` | MySql date or bytes parsed as MySql date string |
| `time::PrimitiveDateTime` | MySql date or bytes parsed as MySql date string |
| `time::Date` | MySql date or bytes parsed as MySql date string |
| `time::Time` | MySql date or bytes parsed as MySql date string |
| `chrono::NaiveTime` | MySql date or bytes parsed as MySql date string |
| `chrono::NaiveDate` | MySql date or bytes parsed as MySql date string |
| `chrono::NaiveDateTime` | MySql date or bytes parsed as MySql date string |
Expand Down
Loading

0 comments on commit ef4dfab

Please sign in to comment.