Added
- cli: Add colors support
- lib:
transit::TransitRoleenum withFollowerandLeadervariants for use withTransitConnector::connect
Changed
- lib: Switched from async-std to smol/async-io
- lib: Remove explicit entropy feature and make it the default
- lib: Undeprecate direct access to Transit connections and unify the connection functions.
TransitConnector::connectis now the only way to set up the connection, and accepts aTransitRoleenum rather than anis_leaderboolean.leader_connectandfollower_connectare removed from the API. - lib:
transit::init()is now undeprecated. - lib: Renamed
transit::Abilities::ALL_ABILITIEStomagic_wormhole::transit::Abilities::ALL - lib:
Keynow has anas_refimplementation for the innercrypto_secretbox::Keyinstead of a public field - lib:
rendezvous::RendezvousError::IOnow contains a boxed tungstenite error to reduce error enum sizes
Removed
- lib:
Wormhole::connect_with(out)_code,WormholeWelcome, useMailboxConnection::create()and thenWormhole::connect()instead - lib:
Wormholepublic struct fields. Use the provided accessor methods instead. - lib:
GenericKey, implementKeyPurposeon a custom struct instead - lib:
transit:TransitKey,TransitRxKeyandTransitTxKey - lib:
rendezvous::RendezvousServerwith no replacement - lib:
transit::log_transit_connection, use the Display implementation of TransitInfo instead - lib:
AppIDpublic field access: UseAppID::new()andAsRef<str>::as_ref()instead - lib:
MailboxConnection::mailbox(), theMailboxtype was always private and therefore not useful - lib:
transit::RelayHint:can_merge,merge,merge_mut,merge_intowith no replacement - lib:
transit::TransitConnector::can_noise_cryptowith no replacement (noise cryptography is not a stable protocol) - lib:
transfer::PeerMessage, this enum type had lots of fields with private types and was therefore not very useful - lib:
transfer::v1::ReceiveRequest:filenameandfilesizefields: Use the public getter methods - lib:
From<Nameplate>forStringandAsRef<str>forNameplate: Use thestd::fmt::Displayimplementation - lib:
From<Code>forStringandAsRef<str>forCode: Use thestd::fmt::Displayimplementation - lib:
Code::split: UseCode::nameplateandCode::password