Expand description
This module contains conversions between various Rust object and their representation in Python.
Modules§
- anyhow
anyhow
- A conversion from anyhow’s
Error
type toPyErr
. - chrono
chrono
- Conversions to and from chrono’s
Duration
,NaiveDate
,NaiveTime
,DateTime<Tz>
,FixedOffset
, andUtc
. - either
either
- Conversion to/from
either’s
Either
type to a union of two Python types. - eyre
eyre
- A conversion from
eyre’s
Report
type toPyErr
. - hashbrown
hashbrown
- Conversions to and from hashbrown’s
HashMap
andHashSet
. - indexmap
indexmap
- Conversions to and from indexmap’s
IndexMap
. - jiff
jiff-01
- Conversions to and from jiff’s
Span
,SignedDuration
,TimeZone
,Offset
,Date
,Time
,DateTime
,Zoned
, andTimestamp
. - num_
bigint num-bigint
- Conversions to and from num-bigint’s
BigInt
andBigUint
types. - num_
complex num-complex
- Conversions to and from num-complex’
Complex
<
f32
>
andComplex
<
f64
>
. - num_
rational num-rational
- Conversions to and from num-rational types.
- rust_
decimal rust_decimal
- Conversions to and from rust_decimal’s [
Decimal
] type. - serde
serde
- Enables (de)serialization of
Py
<T>
objects via serde. - smallvec
smallvec
- Conversions to and from smallvec.
- std 🔒