Skip to content

Commit

Permalink
feat: Support NebulaGraph
Browse files Browse the repository at this point in the history
Signed-off-by: feathercyc <feathercyc@163.com>
  • Loading branch information
feathercyc committed Sep 12, 2024
1 parent 4d060f2 commit 8d5dae0
Show file tree
Hide file tree
Showing 9 changed files with 792 additions and 21 deletions.
261 changes: 240 additions & 21 deletions core/Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ services-moka = ["dep:moka"]
services-mongodb = ["dep:mongodb"]
services-monoiofs = ["dep:monoio", "dep:flume"]
services-mysql = ["dep:sqlx", "sqlx?/mysql"]
services-nebulagraph = ["dep:rust-nebula", "dep:bb8", "dep:snowflaked"]
services-obs = [
"dep:reqsign",
"reqsign?/services-huaweicloud",
Expand Down Expand Up @@ -342,6 +343,11 @@ compio = { version = "0.11.0", optional = true, features = [
] }
# for services-s3
crc32c = { version = "0.6.6", optional = true }
# for services-nebula-graph
rust-nebula = { version = "0.1", optional = true, git = "https://github.com/nebula-contrib/rust-nebula", features = [
"graph",
] }
snowflaked = { version = "1", optional = true, features = ["sync"] }
# for services-monoiofs
flume = { version = "0.11", optional = true }
monoio = { version = "0.2.4", optional = true, features = [
Expand Down
3 changes: 3 additions & 0 deletions core/src/services/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ pub use monoiofs::*;
mod mysql;
pub use self::mysql::*;

mod nebula_graph;
pub use nebula_graph::*;

mod obs;
pub use obs::*;

Expand Down
Loading

0 comments on commit 8d5dae0

Please sign in to comment.