Dirkjan Ochtman
7f6cf5e504
Switch to 2024 style
2025-02-21 11:20:55 +01:00
Dirkjan Ochtman
1456fa0977
Apply suggestions from clippy 1.83
2024-11-29 14:21:20 +01:00
Paul Dicker
ffe27452c6
Merge datetime::test_*_json
into their tests
2024-04-04 06:59:09 +02:00
Paul Dicker
18328a8d9f
Replace .and_local_timezone(Utc)
with .and_utc()
2024-03-21 13:08:55 +01:00
Paul Dicker
04eb6d346f
Slightly improve serde documentation
2024-03-18 15:39:40 +01:00
Paul Dicker
9511dd29e6
Rename LocalResult
to MappedLocalTime
, add alias
2024-03-12 13:27:43 +01:00
Paul Dicker
bbdc332958
Simplify SerdeError
2024-02-27 15:37:31 +01:00
Paul Dicker
0b68d19a3e
Move serde_from
and SerdeError
to crate::serde
inline module
2024-02-27 15:37:31 +01:00
Paul Dicker
45f8cecabc
Rustfmt doctests
2024-02-21 14:51:02 +01:00
Paul Dicker
b7857baed2
Move SecondsFormat
from datetime
to format::formatting
2023-09-27 12:31:30 +02:00
Paul Dicker
7d2c9fc3f8
Switch docs.rs to auto_docs_cfg
2023-09-22 10:31:04 +02:00
Paul Dicker
6302624c43
Use timestamp_nanos_opt
in serialization; add panic warning
2023-09-12 14:50:10 +02:00
Paul Dicker
15d5d4dad5
Do not use Offset
's Debug
impl when serializing DateTime
2023-08-07 13:23:51 +02:00
Paul Dicker
995419e1fd
Doctests negative values when deserializing timestamps
2023-08-03 18:06:01 +02:00
Paul Dicker
3fbf34bd5e
Fix deserialization of negative timestamps
2023-08-03 18:06:01 +02:00
Paul Dicker
697f5d7d81
Require clock feature for test_decodable_json
import
2023-06-30 11:59:01 +02:00
Paul Dicker
5759abf959
Move tests in datetime::serde
to test
module
2023-06-08 15:19:09 +02:00
Paul Dicker
0c3ffe4320
Remove #[must_use]
from serialize methods
2023-06-08 15:19:09 +02:00
Paul Dicker
1d16082390
Use deserialization result in doctests
2023-05-26 12:16:08 +02:00
Paul Dicker
03a64cefd2
Avoid deprecated methods in doctests
2023-05-26 12:16:08 +02:00
Paul Dicker
e86df391a3
Remove unused imports in doctests
2023-05-26 12:16:08 +02:00
lukas
311d52eb91
Add #[must_use] to some methods
2023-04-03 15:31:59 +02:00
Dirkjan Ochtman
22b4d32498
Avoid use of deprecated API
2022-11-09 13:37:17 +01:00
Dirkjan Ochtman
7cd5e03ee4
Fix up internal calls to newly deprecated methods
2022-10-09 14:15:02 +02:00
René Kijewski
16b2ae4156
Add feature documentation for docs.rs
...
This way the documentation will thell user which feature(s) are needed
to use a function, trait, etc. docs.rs display the information like
> Available on crate feature `serde` only.
2022-08-22 20:26:38 +02:00
Constantin Nickel
82407ffa9e
Update bincode
to 1.3
2022-04-05 15:50:52 +02:00
Constantin Nickel
4781689a39
Remove fallible fn main()
in doc examples
2022-03-28 21:52:12 +02:00
Constantin Nickel
c9db7d1f92
Remove extern crate
statements from benches, tests & doc examples
2022-03-28 21:52:12 +02:00
Constantin Nickel
3105ff5bb9
docs(serde): fix some copy & paste errors
2022-03-23 17:12:56 +01:00
Dirkjan Ochtman
947914917e
Split datetime module into different files
2022-03-21 22:32:31 -07:00