eclipse-zenoh / zenoh

zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.
https://zenoh.io
Other
1.36k stars 142 forks source link

remove `Value` from stroage plugin API #1155

Open milyin opened 3 weeks ago

milyin commented 3 weeks ago

Describe the release item

Value should be replaced to ZBytes (and Encoding if necessary)

pub trait Storage: Send + Sync {
    async fn put(
        &mut self,
        key: Option<OwnedKeyExpr>,
        value: Value,
  ...