1906 Commits

Author SHA1 Message Date
David Ramos
16c45fa8ea
Remove Utc::now() and Local::now() on unsupported platforms 2024-04-11 12:35:11 +02:00
Paul Dicker
332be72d1d CI: simplify cargo hack check 2024-04-07 08:44:02 +02:00
Paul Dicker
4741338ad2 Update documentation of crate features 2024-04-07 08:44:02 +02:00
Paul Dicker
a7635fbe18 Document crate features for lib.rs 2024-04-07 08:44:02 +02:00
Paul Dicker
98c3640760 Consistently order features before optional, like cargo add 2024-04-07 08:44:02 +02:00
Paul Dicker
1a7c6e4fe4 Add explicit serde and arbitrary features, sort like readme 2024-04-07 08:44:02 +02:00
Paul Dicker
1c037b7c12 Don't let now imply std feature 2024-04-07 08:44:02 +02:00
Paul Dicker
36eb9de6f9 Remove __internal_bench feature and YearFlags::from_year benchmark 2024-04-07 08:44:02 +02:00
Paul Dicker
7c195c9352 Remove rkyv feature 2024-04-07 08:44:02 +02:00
Paul Dicker
a7a143d24f Use dep: syntax for optional dependencies 2024-04-07 08:44:02 +02:00
Paul Dicker
d9e689983d Remove libc, winapi and oldtime features 2024-04-07 08:44:02 +02:00
Paul Dicker
92a81f1781 Make methods on DelayedFormat private 2024-04-06 21:57:33 +02:00
Paul Dicker
58ae53842d Merge branch 'main' 2024-04-04 11:53:35 +02:00
Paul Dicker
7f57dde63c Remove appveyor.yml 2024-04-04 11:13:23 +02:00
Paul Dicker
838b9dd62a Only package files needed for building and testing 2024-04-04 11:13:23 +02:00
Paul Dicker
33c372c668 Mention Month in documentation 2024-04-04 09:19:31 +02:00
Paul Dicker
6fdd48ee56 Remove Month::Number_from_month 2024-04-04 09:19:31 +02:00
Paul Dicker
1d9ff82734 Number month enum from 1 2024-04-04 09:19:31 +02:00
Paul Dicker
8b1364f680 CI: Treat some features as mutually exclusive in cargo hack check 2024-04-04 09:08:02 +02:00
Paul Dicker
0b9b160d1e CI: Skip oldtime, rkyv and wasmbind in cargo hack check 2024-04-04 09:08:02 +02:00
Paul Dicker
fe43396283 Make format_fixed a method 2024-04-04 07:26:11 +02:00
Paul Dicker
06a6b01f3b Make format_numeric a method 2024-04-04 07:26:11 +02:00
Paul Dicker
cc0139996f Inline format_inner 2024-04-04 07:26:11 +02:00
Paul Dicker
4947c90046 Factor out DelayedFormat::format 2024-04-04 07:26:11 +02:00
Paul Dicker
5c1c87c61d Pass date and time by value 2024-04-04 07:26:11 +02:00
Paul Dicker
080d623dd3 Factor out Fixed formatting 2024-04-04 07:26:11 +02:00
Paul Dicker
a36a45ad36 Factor out Numeric formatting 2024-04-04 07:26:11 +02:00
Paul Dicker
ffe27452c6 Merge datetime::test_*_json into their tests 2024-04-04 06:59:09 +02:00
Paul Dicker
e9849ed602 Merge naive::datetime::test_*_json into their tests 2024-04-04 06:59:09 +02:00
Paul Dicker
cba4baad32 Merge naive::time::test_*_json into their tests 2024-04-04 06:59:09 +02:00
Paul Dicker
cfe7b740ab Merge naive:📅:test_*_json into their tests 2024-04-04 06:59:09 +02:00
Jubilee Young
6c4e735675 Justify not using --all-features with rkyv 2024-03-30 15:01:40 +01:00
Jubilee Young
be62a7f116 Remove rustc-serialize feature
And docs and deny exceptions and...
2024-03-30 15:01:40 +01:00
Jubilee Young
6c86cd1560 Remove rustc-serialize from library 2024-03-30 15:01:40 +01:00
Jubilee Young
8496550c87 Deny rustc-serialize again 2024-03-29 08:52:06 +01:00
Jubilee Young
6fbd8344fc Remove rustc-serialize from features 2024-03-29 08:52:06 +01:00
Jubilee Young
55ad75a6ef Remove rustc-serialize from library 2024-03-29 08:52:06 +01:00
Paul Dicker
7d62045ec4 Prepare 0.4.37 v0.4.37 2024-03-27 12:42:39 +01:00
Paul Dicker
6857d00070 Hide re-export of LocalResult in docs 2024-03-27 12:42:39 +01:00
Paul Dicker
9e22e48d15 Swap MappedLocalTime and LocalResult type alias 2024-03-27 12:42:39 +01:00
Paul Dicker
ca3c3b6293 Prepare 0.4.36 v0.4.36 2024-03-26 17:36:07 +01:00
Paul Dicker
1850198da9 Revert TimeDelta deprecations 2024-03-26 17:36:07 +01:00
Paul Dicker
83de26d3d6 Convert NaiveDateTime::checked_(add|add)_months to return Result 2024-03-25 15:44:40 +01:00
Paul Dicker
9f657c7b50 Convert NaiveDate::checked_(add|add)_months to return Result 2024-03-25 15:44:40 +01:00
Paul Dicker
08c9792972 Convert expect to take Result as argument 2024-03-25 15:30:15 +01:00
Paul Dicker
d2d79ef6b2 Convert TimeDelta::{from_std, to_std} to return Error 2024-03-25 15:30:15 +01:00
Paul Dicker
e841a94d3d Convert TimeDelta::num_nanoseconds to return Result 2024-03-25 15:30:15 +01:00
Paul Dicker
680d9688ce Convert TimeDelta::num_microseconds to return Result 2024-03-25 15:30:15 +01:00
Paul Dicker
f445e47ae7 Convert TimeDelta::milliseconds to return Result 2024-03-25 15:30:15 +01:00
Paul Dicker
17bdca6e93 Convert TimeDelta::new to return Result 2024-03-25 15:30:15 +01:00