#ssi #optimistic #transaction #watermark #txn

no-std waterark

Watermark for implementing optimistic SSI (Serializable Snapshot Isolation) transactions

1 unstable release

new 0.1.0 Nov 4, 2024

#359 in Database implementations

MIT/Apache

52KB
1K SLoC

Waterark

Watermark for implementing optimistic SSI (Serializable Snapshot Isolation) transactions

github LoC Build codecov

docs.rs crates.io crates.io license

Installation

  • Default

    [dependencies]
    waterark = "0.2"
    
  • Using in async runtimes with std

    • tokio

      [dependencies]
      waterark = { version = "0.2", default-features = false, features = ["tokio", "std"] }
      
    • smol

      [dependencies]
      waterark = { version = "0.2", default-features = false, features = ["smol", "std"] }
      
    • async-std

      #[dependencies]
      waterark = { version = "0.2", default-features = false, features = ["async-std", "std"] }
      
    • wasm

      #[dependencies]
      waterark = { version = "0.2", default-features = false, features = ["wasm", "std"] }
      
  • Using in async runtimes without std

    [dependencies]
    waterark = { version = "0.2", default-features = false, features = ["alloc", "future"] }
    

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.2–13MB
~153K SLoC