Error::Http
toError::StatusCode
.HOSTNAME
constants to private.ClassInfoCache
to useArc<Mutex<T>>
internally rather than requiring it to be wrapped.TradeOfferManagerBuilder
no longer requires a data directory. The data directory now defaults to the user's config directory.TradeOfferManagerBuilder
no longer requires an API key.ParameterError::CannotAcceptOfferThatIsOurs
intoParameterError::CannotAcceptOfferWeCreated
for consistency.TradeOfferManagerBuilder
,SteamTradeOfferAPIBuilder
,MobileAPIBuilder
, andNewTradeOfferBuilder
fields are now private.PollResult
toResult
.- Moved
ServerTime
totypes::ServerTime
. - Reduced contention on
ClassInfoCache
by moving inserts toget_asset_classinfos
fromget_app_asset_classinfos_chunk
. - Moved
save_classinfos
to atokio
task so that classinfo data can be returned without waiting for files to be written. - Poll data now trims to only offers returned in a full update.
Error::MalformedResponse
now contains message with error details.- Re-exported all inner values for error variants.
- Some missing derives for various structs.
PollAction::StopPolling
.
chrono
version to^0.4.27
to avoid a potential error when compiling with older versions.- Exposed
mobile_api
.
- Mobile confirmations to use the new Steam endpoints.
TradeOfferManager#start_polling
was modified in favor of using sender/receiver-style messaging.Error::ConfirmationUnsuccessful
now holds an optional message string.ConfirmationType::Unknown
now holds a u32 value holding the code for the unknown confirmation type.
TradeOfferManager#do_poll
in favor of utilizing senders.