forked from eclipse-zenoh/zenoh-backend-rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump zenoh version (eclipse-zenoh#122)
* chore: bump zenoh version * chore: update branch
- Loading branch information
Showing
5 changed files
with
52 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: fmt | ||
name: fmt | ||
entry: cargo fmt -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate" | ||
language: system | ||
types: [rust] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,24 +12,25 @@ | |
// ZettaScale Zenoh Team, <[email protected]> | ||
// | ||
|
||
use std::{borrow::Cow, collections::HashMap, path::PathBuf, time::Duration}; | ||
|
||
use async_std::sync::{Arc, Mutex}; | ||
use async_trait::async_trait; | ||
use rocksdb::{ColumnFamilyDescriptor, Options, WriteBatch, DB}; | ||
use std::borrow::Cow; | ||
use std::collections::HashMap; | ||
use std::path::PathBuf; | ||
use std::time::Duration; | ||
use tracing::{debug, error, trace, warn}; | ||
use uhlc::NTP64; | ||
use zenoh::bytes::ZBytes; | ||
use zenoh::encoding::Encoding; | ||
use zenoh::internal::{bail, zenoh_home, zerror, Value}; | ||
use zenoh::key_expr::OwnedKeyExpr; | ||
use zenoh::selector::Parameters; | ||
use zenoh::time::{new_timestamp, Timestamp}; | ||
use zenoh::{try_init_log_from_env, Error, Result as ZResult}; | ||
use zenoh_backend_traits::config::{StorageConfig, VolumeConfig}; | ||
use zenoh_backend_traits::*; | ||
use zenoh::{ | ||
bytes::{Encoding, ZBytes}, | ||
internal::{bail, zenoh_home, zerror, Value}, | ||
key_expr::OwnedKeyExpr, | ||
query::Parameters, | ||
time::{new_timestamp, Timestamp}, | ||
try_init_log_from_env, Error, Result as ZResult, | ||
}; | ||
use zenoh_backend_traits::{ | ||
config::{StorageConfig, VolumeConfig}, | ||
*, | ||
}; | ||
use zenoh_plugin_trait::{plugin_long_version, plugin_version, Plugin}; | ||
|
||
/// The environement variable used to configure the root of all storages managed by this RocksdbBackend. | ||
|