JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Beginning of `stack-next` refactor

-Refactoring the protocol stack into something similar to a runtime. -Handles merging handler builders which is placing the ground work for plugins in. - Increased metadata generation during compilation enables less ser/de during execution. - Goal is to have an O(1) time from incoming operation to calling handlers. - Decreased penalty for using the statically typed API from within your code, now avoids some allocation. # Changes - Added `GiteratedRuntime` which is to replace the current unified stack - Added `RuntimeBuilder` which does what the current `OperationHandlers` struct does, but much better. - Added `RuntimeMetadata` to store type metadata for new `Any` based internals - Refactored serde_json out of the internal operation handling

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨708dea4

⁨giterated-models/src/lib.rs⁩ - ⁨345⁩ bytes
Raw
1 use error::OperationError;
2 use object::GiteratedObject;
3 use operation::GiteratedOperation;
4
5 pub mod authenticated;
6 pub mod discovery;
7 pub mod error;
8 pub mod handshake;
9 pub mod instance;
10 pub mod message;
11 pub mod object;
12 pub mod object_backend;
13 pub mod operation;
14 pub mod repository;
15 pub mod settings;
16 pub mod update;
17 pub mod user;
18 pub mod value;
19