Releases: danwilliams/rubedo
Releases · danwilliams/rubedo
Release 0.4.6
Added
- Extended the
http
module- Added
UnpackedResponse::new()
- Added
UnpackedResponse::new_from_parts()
- Added
UnpackedResponseHeader::new()
- Added
Release 0.4.5
Changed
- Updated README content
- Split README into separate files per module
Release 0.4.4
Added
- Extended the
chrono
module- Added
*_full()
constructor methods toDurationExt
- Added
Duration::nanoseconds_full()
- Added
Duration::microseconds_full()
- Added
- Added constructor methods to
MonthsExt
- Added
Months::months()
- Added
Months::years()
- Added
- Added
Changed
Release 0.4.3
Added
- Extended the
chrono
module- Added
MonthsExt
trait- Added
Months::MAX_MONTHS
- Added
Months::MAX_YEARS
- Added
Months.num_months()
- Added
Months.num_years()
- Added
- Added
MAX_*
andMIN_*
constants toDurationExt
- Added
Duration::MAX_NANOSECONDS
- Added
Duration::MAX_MICROSECONDS
- Added
Duration::MAX_MILLISECONDS
- Added
Duration::MAX_SECONDS
- Added
Duration::MAX_MINUTES
- Added
Duration::MAX_HOURS
- Added
Duration::MAX_DAYS
- Added
Duration::MAX_WEEKS
- Added
Duration::MIN_NANOSECONDS
- Added
Duration::MIN_MICROSECONDS
- Added
Duration::MIN_MILLISECONDS
- Added
Duration::MIN_SECONDS
- Added
Duration::MIN_MINUTES
- Added
Duration::MIN_HOURS
- Added
Duration::MIN_DAYS
- Added
Duration::MIN_WEEKS
- Added
- Added constants and methods to
DurationExt
for full range- Added
Duration.num_nanoseconds_full()
- Added
Duration.num_microseconds_full()
- Added
Duration::MAX_NANOSECONDS_FULL
- Added
Duration::MAX_MICROSECONDS_FULL
- Added
Duration::MIN_NANOSECONDS_FULL
- Added
Duration::MIN_MICROSECONDS_FULL
- Added
- Added
Changed
Release 0.4.2
Changed
- Enhanced
variants!()
macro to type-hint empty lists
Release 0.4.1
Fixed
- Fixed wrong links in README documentation
Changed
- Restructured README documentation
Release 0.4.0
Added
- Added
serde
module to provide useful conversions when (de)serialising- Added general type conversion functions
- Added
as_str()
- Added
from()
- Added
from_str()
- Added
from_string()
- Added
into()
- Added
into_string()
- Added
to_string()
- Added
try_from()
- Added
try_from_string()
- Added
- Added helpers for scaling integers to/from floating-point numbers
- Added
from_cents()
- Added
from_pence()
- Added
to_cents()
- Added
to_pence()
- Added
try_from_int_1dp()
- Added
try_from_int_2dp()
- Added
try_from_int_3dp()
- Added
try_from_int_4dp()
- Added
try_from_int_with_scale()
- Added
try_to_int_1dp()
- Added
try_to_int_2dp()
- Added
try_to_int_3dp()
- Added
try_to_int_4dp()
- Added
try_to_int_with_scale()
- Added
- Added general type conversion functions
- Extended the
chrono
module- Added
MAX_YEAR
andMIN_YEAR
constants toNaiveDateExt
- Added
- Extended the
std
module- Added
AsStr
trait - Added
FromIntWithScale
trait - Added
ToIntWithScale
trait - Added implementations of
FromIntWithScale::from_int_with_scale()
andToIntWithScale::to_int_with_scale()
to/fromf32
/f64
/Decimal
and all integer types
- Added
- Extended the
sugar
module- Added macros for enum variant shorthand
- Added
variants!()
- Added
variants_hashset!()
- Added
vv!()
alias - Added
vh!()
alias
- Added
- Re-exported
rubedo_macros::ip
asrubedo::sugar::ip
- Added macros for enum variant shorthand
- Added some integration tests
- Added standard linting configuration
Fixed
- Improved
sugar::s!()
macro to detect string literals
Changed
- In the
http
module- Improved
ResponseError
, allowing any errors raised byto_bytes()
to be captured - Amended
convert_response()
to deal with a borrowed body rather than taking ownership - Derived
Eq
forContentType
- Made
UnpackedResponseBody.content_type()
const
- Improved
- In the
std
module- Improved handling of
cwd
inPathExt::normalize()
, to fall back to the filesystem root directory - Derived
Clone
andDebug
forLimitIterator
- Improved handling of
- General changes
- Annotated non-exhaustive enums and structs as such
- Applied
must_use
annotation to appropriate functions - Used
core
instead ofstd
where possible - Refactored some functions
- Improved documentation
Removed
- Removed support for using the
sugar::s!()
macro with non-string literals
Release 0.3.6
Added
- Added
std::Iterator.limit()
Release 0.3.5
Added
- Implemented
From<HyperBody>
andFrom<UnsyncBoxBody<Bytes, E>>
forhttp::UnpackedResponseBody
Changed
- Improved Rustdoc documentation
Release 0.3.4
Added
- Implemented
From<Json>
forhttp::UnpackedResponseBody
- Implemented custom
Serialize
andDeserialize
implementations forhttp::UnpackedResponseBody
- Added
http::ContentType
enum to specifyhttp:UnpackedResponseBody
content type - Added
content_type()
,set_content_type()
,is_binary()
,is_text()
,to_base64()
, andfrom_base64()
tohttp::UnpackedResponseBody
Changed
- Updated
Debug
,Display
,Serialize
, andDeserialize
implementations forhttp::UnpackedResponseBody
to be content-type aware - Updated
http::UnpackedResponseBody::new()
to accept any types thatFrom
has been implemented for - Changed
http::UnpackedResponseBody
from tuple struct to standard struct - Improved performance in
http::UnpackedResponseBody::from()