You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/preconf.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,9 @@ Optional install targets should match the name of the {mod}`cattrs.preconf` modu
55
55
# Using pip
56
56
$ pip install cattrs[ujson]
57
57
58
+
# Usinv uv
59
+
$ uv add cattrs[msgspec]
60
+
58
61
# Using pdm
59
62
$ pdm add cattrs[orjson]
60
63
@@ -203,5 +206,5 @@ Found at {mod}`cattrs.preconf.tomlkit`.
203
206
Bytes are serialized as base 85 strings. Sets are serialized as lists, and deserialized back into sets.
204
207
Tuples are serialized as lists, and deserialized back into tuples.
205
208
_tomlkit_ only supports mappings with string keys so mappings will have their keys stringified before serialization, and destringified during deserialization.
206
-
`date` s are serialized as ISO 8601 strings. `datetime` s are passed through to be unstructured by _tomlkit_ itself.
209
+
[`date`](https://docs.python.org/3/library/datetime.html#datetime.date) and [`datetime`](https://docs.python.org/3/library/datetime.html#datetime.datetime) objects are passed through to be unstructured by _tomlkit_ itself.
0 commit comments