@@ -31,7 +31,7 @@ rustdoc-args = ["--generate-link-to-definition"]
3131
3232[features ]
3333default = [" std" ]
34- alloc = [" serde ?/alloc" ]
34+ alloc = [" serde_core ?/alloc" ]
3535formatting = [" dep:itoa" , " std" , " time-macros?/formatting" ]
3636large-dates = [" time-macros?/large-dates" ]
3737local-offset = [" std" , " dep:libc" , " dep:num_threads" ]
@@ -41,7 +41,7 @@ quickcheck = ["dep:quickcheck", "alloc", "deranged/quickcheck"]
4141rand = [" rand08" , " rand09" ]
4242rand08 = [" dep:rand08" , " deranged/rand08" ]
4343rand09 = [" dep:rand09" , " deranged/rand09" ]
44- serde = [" dep:serde " , " time-macros?/serde" , " deranged/serde" ]
44+ serde = [" dep:serde_core " , " time-macros?/serde" , " deranged/serde" ]
4545serde-human-readable = [" serde" , " formatting" , " parsing" ]
4646# Deprecated in favor of using the relevant flags directly.
4747serde-well-known = [" serde" , " formatting" , " parsing" ]
@@ -58,7 +58,7 @@ powerfmt = { workspace = true }
5858quickcheck = { workspace = true , optional = true }
5959rand08 = { workspace = true , optional = true }
6060rand09 = { workspace = true , optional = true }
61- serde = { workspace = true , optional = true }
61+ serde_core = { workspace = true , optional = true }
6262time-core = { workspace = true }
6363time-macros = { workspace = true , optional = true }
6464
0 commit comments