Tim Hutt ebcec59969 Implement From/ToSql for more types
This implements `FromSql` for `u64`, `usize` and `f32`, and `ToSql` for `f32`.

I also updated the documentation to describe how it currently works, and changed the implementation to use `try_from` for integral casts rather rather than custom code.

Test added.
2020-10-24 09:52:05 -07:00
..
2020-10-24 09:52:05 -07:00
2020-06-01 18:44:02 +02:00
2020-06-01 10:11:34 +02:00
2020-08-17 20:07:56 +02:00
2020-10-06 00:10:22 -07:00
2020-08-17 20:07:56 +02:00
2020-05-21 00:48:06 -07:00
2020-05-21 00:48:06 -07:00
2020-05-21 00:48:06 -07:00
2020-09-02 16:15:25 +10:00
2020-06-01 10:11:34 +02:00
2020-08-17 20:07:56 +02:00
2020-06-26 19:35:14 +02:00
2018-10-30 20:15:08 +01:00