-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jans-cedarling): Make SparKV use generics, and update MemoryLogg…
…er to use those. (#10593) * feat(jans-cedarling): SparKV Generics Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): In MemoryLogger, use serde_json::Value as SparKV storage type. Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): SparKV key-value iterator Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): use SparKV key-value iterator in MemoryLogger for more efficient pop_logs Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): SparKV implement drain similar to std::collections Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): use SparKV drain in MemoryLogger for more efficient pop_logs Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV simplify clear_expired Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): simplify some Loggable code Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): SparKV add size function for non-byte types Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV test for serde_json::Value storage Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV small fixes Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV move tests to own file Signed-off-by: John Anderson <[email protected]> * docs(jans-cedarling): SparKV documentation for generics Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): some notes on custom value length function Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): fallout from merge with wasm branch Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): in MemoryLogger remove unnecessary serde_json::Value conversions Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV rectify expiry tests, and use nicer Duration constructors Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV clean up some test cases Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV add copyright to tests files Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV cargo fmt -p sparkv Signed-off-by: John Anderson <[email protected]> * chore(jans-cedarling): SparKV rectify expiry test Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): cargo fmt on log/memory_logger.rs Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): use fallback logger on failure in MemoryLogger Signed-off-by: John Anderson <[email protected]> --------- Signed-off-by: John Anderson <[email protected]>
- Loading branch information
Showing
11 changed files
with
686 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.