origin-secrets 0.2.0

SecretStore contract for Origin, with an in-memory implementation and a shared contract test suite.
Documentation
1
2
3
4
5
6
use origin_secrets::MemorySecretStore;

#[tokio::test]
async fn memory_store_satisfies_the_secret_store_contract() {
    origin_secrets::contract::run_all(&MemorySecretStore::new(), "origin-memory-test").await;
}