Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions crates/base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,6 @@ sb_os = { version = "0.1.0", path = "../sb_os" }
sb_node = { version = "0.1.0", path = "../node" }
sb_ai = { version = "0.1.0", path = "../sb_ai" }

anyhow.workspace = true
bytes.workspace = true
hyper = { workspace = true, features = ["full"] }
http_v02.workspace = true
log.workspace = true
serde = { workspace = true, features = ["derive"] }
tokio.workspace = true
url.workspace = true

[features]
Expand Down
6 changes: 3 additions & 3 deletions crates/base/src/commands.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
inspector_server::Inspector,
rt_worker::{worker_ctx::TerminationToken, worker_pool::WorkerPoolPolicy},
server::{Server, ServerFlags, ServerHealth, Tls, WorkerEntrypoints},
server::{Server, ServerFlags, ServerHealth, SignumOrExitCode, Tls, WorkerEntrypoints},
worker::{pool::WorkerPoolPolicy, TerminationToken},
InspectorOption,
};
use anyhow::Error;
Expand All @@ -26,7 +26,7 @@ pub async fn start_server(
inspector_option: Option<InspectorOption>,
jsx_specifier: Option<String>,
jsx_module: Option<String>,
) -> Result<Option<i32>, Error> {
) -> Result<Option<SignumOrExitCode>, Error> {
let mut server = Server::new(
ip,
port,
Expand Down
Loading