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
69 changes: 66 additions & 3 deletions Cargo.lock

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

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
members = [
"api/client",
"cmd/percas",
"crates/cluster",
"crates/core",
"crates/metrics",
"crates/server",
Expand All @@ -37,6 +38,7 @@ version = "0.0.2"
# Workspace members
percas = { version = "0.0.2", path = "cmd/percas" }
percas-client = { version = "0.0.2", path = "api/client" }
percas-cluster = { version = "0.0.2", path = "crates/cluster" }
percas-core = { version = "0.0.2", path = "crates/core" }
percas-metrics = { version = "0.0.2", path = "crates/metrics" }
percas-server = { version = "0.0.2", path = "crates/server" }
Expand All @@ -46,6 +48,7 @@ tests-toolkit = { version = "0.0.2", path = "tests/toolkit" }

# Crates.io dependencies
anstyle = { version = "1.0.10" }
backon = { version = "1.5.0" }
build-data = { version = "0.2.3" }
clap = { version = "4.5.35", features = ["derive"] }
const_format = { version = "0.2.34" }
Expand Down Expand Up @@ -90,17 +93,19 @@ poem = { version = "3.1.7" }
pretty-hex = { version = "0.4.1" }
pretty_assertions = { version = "1.4.1" }
regex = { version = "1.11.1" }
reqwest = { version = "0.12.15" }
reqwest = { version = "0.12.15", features = ["json"] }
scopeguard = { version = "1.2.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
sha2 = { version = "0.10.8" }
shadow-rs = { version = "1.0.0", default-features = false }
tempfile = { version = "3.19.1" }
test-harness = { version = "0.3.0" }
thiserror = { version = "2.0" }
tokio = { version = "1.44.2" }
toml = { version = "0.8.20" }
unindent = { version = "0.2.4" }
uuid = { version = "1.16.0", features = ["v4", "serde"] }

[workspace.lints.rust]
unknown_lints = "deny"
Expand Down
1 change: 0 additions & 1 deletion cmd/percas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ release = false
clap = { workspace = true }
ctrlc = { workspace = true }
error-stack = { workspace = true }
fastimer = { workspace = true }
log = { workspace = true }
percas-core = { workspace = true }
percas-server = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions cmd/percas/src/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ use error_stack::Result;
use error_stack::ResultExt;
use percas_core::Config;
use percas_core::FoyerEngine;
use percas_core::Runtime;
use percas_core::make_runtime;
use percas_core::num_cpus;
use percas_server::PercasContext;
use percas_server::runtime::Runtime;
use percas_server::runtime::make_runtime;
use percas_server::telemetry;

use crate::Error;
Expand Down
48 changes: 48 additions & 0 deletions crates/cluster/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2025 ScopeDB <contact@scopedb.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

[package]
name = "percas-cluster"
publish = false

description = "The cluster service for Percas."

edition.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true

[package.metadata.release]
release = false

[dependencies]
backon = { workspace = true }
error-stack = { workspace = true }
fastimer = { workspace = true }
jiff = { workspace = true }
log = { workspace = true }
percas-core = { workspace = true }
poem = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
sha2 = { workspace = true }
thiserror = { workspace = true }
uuid = { workspace = true }

[dev-dependencies]
insta = { workspace = true }

[lints]
workspace = true
Loading