Skip to content

Commit

Permalink
feat: memory storage from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonThormeyer committed Jul 3, 2024
1 parent 29163fe commit b176eb5
Show file tree
Hide file tree
Showing 10 changed files with 1,753 additions and 86 deletions.
17 changes: 0 additions & 17 deletions memory_keystore/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions memory_keystore/README.md

This file was deleted.

66 changes: 0 additions & 66 deletions memory_keystore/src/lib.rs

This file was deleted.

File renamed without changes.
26 changes: 26 additions & 0 deletions memory_storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "openmls_memory_storage"
authors = ["OpenMLS Authors"]
version = "0.2.0"
edition = "2021"
description = "A very basic storage for OpenMLS implementing openmls_traits."
license = "MIT"
documentation = "https://docs.rs/openmls_memory_storage"
repository = "https://github.com/openmls/openmls/tree/main/memory_storage"
readme = "README.md"

[dependencies]
openmls_traits = { version = "0.2.0", path = "../traits" }
thiserror = "1.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = { version = "0.4" }
hex = { version = "0.4", features = ["serde"], optional = true }
base64 = { version = "0.13", optional = true }

[features]
test-utils = ["hex", "openmls_traits/test-utils"] # Enable test utilites
persistence = ["base64"]

[dev-dependencies]
openmls_memory_storage = { path = ".", features = ["test-utils"] }
3 changes: 3 additions & 0 deletions memory_storage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OpenMLS Memory Storage

A very basic in-memory storage implementing the `StorageProvider` trait from `openmls_traits`.
Loading

0 comments on commit b176eb5

Please sign in to comment.