Skip to content

Commit eaff3e3

Browse files
authored
Merge pull request #804 from wujian0327/main
remove neptune
2 parents 2854cc6 + 0ecd8d1 commit eaff3e3

25 files changed

+2
-15
lines changed

.gitmodules

-4
This file was deleted.

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ members = [
99
"ceres",
1010
"libra",
1111
"vault",
12-
"neptune",
1312
"aries",
1413
"saturn",
1514
"taurus",
@@ -29,7 +28,6 @@ ceres = { path = "ceres" }
2928
callisto = { path = "jupiter/callisto" }
3029
gemini = { path = "gemini" }
3130
vault = { path = "vault" }
32-
neptune = { path = "neptune" }
3331
saturn = { path = "saturn" }
3432
taurus = { path = "taurus" }
3533
mega = { path = "mega" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

gemini/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ common = { workspace = true }
1515
callisto = { workspace = true }
1616
vault = { workspace = true }
1717
jupiter = { workspace = true }
18-
neptune = { workspace = true }
1918
ceres = { workspace = true }
2019

2120
axum = { workspace = true }

gemini/src/ztm/agent.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl LocalZTMAgent {
141141
remove_dir_all(path).unwrap();
142142
}
143143

144-
neptune::start_agent(db_path, self.agent_port);
144+
// neptune::start_agent(db_path, self.agent_port);
145145
});
146146
}
147147
}

gemini/src/ztm/hub.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub struct LocalZTMHub {
2323
impl LocalZTMHub {
2424
pub fn start_ztm_hub(self) {
2525
tokio::spawn(async move {
26-
neptune::start_hub(self.hub_port, self.name, &self.ca);
26+
// neptune::start_hub(self.hub_port, self.name, &self.ca);
2727
});
2828
}
2929
}

neptune/libs/ztm

-1
This file was deleted.

panel/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ edition = "2021"
55

66
[features]
77
default = []
8-
p2p = ["neptune"]
98

109
[dependencies]
1110
# ======= Mega Dependencies ======= #
@@ -14,7 +13,6 @@ common.workspace = true
1413
jupiter.workspace = true
1514
gateway.workspace = true
1615

17-
neptune = { workspace = true, optional = true }
1816

1917
# ===== Zed Gpui Dependencies ===== #
2018
gpui = { git = "https://github.com/zed-industries/zed" }

panel/src/backend.rs

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ pub(crate) async fn init(config: &MegaConfig) {
1212
};
1313
let ztm = ZtmOptions {
1414
ztm_agent_port: 7777,
15-
#[cfg(feature = "p2p")]
16-
bootstrap_node: None,
17-
#[cfg(not(feature = "p2p"))]
1815
bootstrap_node: None,
1916
cache: false,
2017
};

0 commit comments

Comments
 (0)