Skip to content

Commit be7cccb

Browse files
author
Paul T
authored
chore: project restructure (#161)
STC regression Elo | 4.68 +- 4.52 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | 2.95 (-2.94, 2.94) [-5.00, 0.00] Games | N: 6240 W: 1082 L: 998 D: 4160 Penta | [54, 596, 1738, 676, 56] https://openbench.nocturn9x.space/test/4724/ LTC regression Elo | 0.73 +- 2.44 (95%) SPRT | 40.0+0.40s Threads=1 Hash=128MB LLR | 2.95 (-2.94, 2.94) [-5.00, 0.00] Games | N: 17716 W: 2566 L: 2529 D: 12621 Penta | [99, 1593, 5438, 1628, 100] https://openbench.nocturn9x.space/test/4725/ bench: 1091922
1 parent a1e148a commit be7cccb

35 files changed

Lines changed: 647 additions & 7178 deletions

Cargo.lock

Lines changed: 559 additions & 6878 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
[package]
22
name = "byte-knight"
33
version = "3.0.0"
4-
# 2024 isn't stable yet
4+
edition = { workspace = true }
5+
authors = { workspace = true }
6+
license = { workspace = true }
7+
repository = { workspace = true }
8+
9+
[workspace]
10+
members = ["engine", "chess", "tools/*"]
11+
resolver = "3"
12+
13+
[workspace.package]
514
edition = "2024"
615
authors = ["Paul Tsouchlos <developer.paul.123@gmail.com>"]
716
license = "GPL-3.0"
8-
9-
[workspace]
10-
members = ["engine", "chess", "tools/chess-explorer"]
11-
default-members = ["engine", "chess"]
17+
repository = "https://github.com/DeveloperPaul123/byte-knight"
1218

1319
[workspace.dependencies]
1420
anyhow = "1.0.100"
@@ -33,18 +39,9 @@ uci-parser = "1.1.0"
3339
[dependencies]
3440
engine = { workspace = true }
3541
chess = { workspace = true }
36-
anyhow = { workspace = true }
3742
clap = { workspace = true, features = ["derive"] }
3843
colored = { workspace = true }
39-
console = { workspace = true, features = ["windows-console-colors"] }
40-
csv = { workspace = true }
41-
indicatif = { workspace = true, features = ["rayon"] }
42-
rand = { workspace = true, features = ["small_rng"] }
43-
rand_chacha = { workspace = true }
4444
rayon = { workspace = true }
45-
serde = { workspace = true, features = ["derive"] }
46-
thiserror = { workspace = true }
47-
textplots = { workspace = true }
4845

4946
[profile.dev]
5047
opt-level = 1

Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ build-native-release target:
2222
[group('dev')]
2323
build config="debug":
2424
echo "Building the project..."
25-
cargo build --workspace {{ if config == "release" { "--release" } else { "" } }}
25+
cargo build --workspace --all-targets {{ if config == "release" { "--release" } else { "" } }}
2626

2727
[doc('Build and run tests (default is debug)')]
2828
[group('dev')]
2929
test config="debug":
3030
echo "Running tests..."
31-
cargo test --workspace {{ if config == "release" { "--release" } else { "" } }} -- --include-ignored
31+
cargo test --workspace --all-targets {{ if config == "release" { "--release" } else { "" } }} -- --include-ignored
3232

3333
export LLVM_PROFILE_FILE := "./target/coverage/byte_knight-%p-%m.profraw"
3434

tools/chess-explorer/Cargo.toml

Lines changed: 0 additions & 24 deletions
This file was deleted.

tools/chess-explorer/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

tools/chess-explorer/assets/pieces/bB.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/chess-explorer/assets/pieces/bK.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/chess-explorer/assets/pieces/bN.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/chess-explorer/assets/pieces/bP.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/chess-explorer/assets/pieces/bQ.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)