aboutsummaryrefslogtreecommitdiff
path: root/src/session (follow)
Commit message (Collapse)AuthorAgeLines
* implement sync for IrcChannelMax Audron2022-10-06-1/+50
|
* add session manager struct with default impls to handle sync and initMax Audron2022-10-04-16/+99
|
* minor fix and cleanup warningsMax Audron2021-12-01-1/+1
|
* rework SyncProxy to use globally available channelsMax Audron2021-11-29-41/+1
| | | | | | | | | | | | | | | | the SyncProxy is now a globally available OnceCell that transparently offers a struct with methods to send syncmessages and rpccalls. This allows me to get rid of the globally passed around syncproxy var. The Syncable trait provides default implementations that access this global so the library user usually does not need to use it directly. Further the Syncable trait now provides default implementations for it's methods and only a const for the CLASS name must be set. It isn't very idiomatic rust and takes away some freedom from the library user but i think that it's an overall nicer solution and simplifies the code big time.
* split StatefulSyncable into client and server side traitsMax Audron2021-10-03-12/+32
| | | | | | This allows to more easily put each side behind a feature flag, maintaing ease of use when only one is selected, while still allowing a consumer to enable both sides and use them.
* adapt Sync* typesMax Audron2021-09-28-1/+44
|
* updateMax Audron2020-10-16-0/+2
udron-105/+55 2021-10-20bump version to 1.6.2Max Audron-3/+2 2021-10-20prepare for release on crates.ioMax Audron-39/+65 2021-10-20add async docs to macro crate and bump versionMax Audron-9/+10 2021-10-20change hook errors to be logged as warningsMax Audron-3/+3 2021-10-20fix configuration not loading correctly on release buildsMax Audron-8/+23 2021-10-19replace sedregex crate8-rework-sedMax Audron-20/+358 2021-10-19add formatting trait for irc codesMax Audron-0/+129 2021-10-17fix links in readmeMax Audron-2/+2