Skip to content

Commit

Permalink
Added SAN2CMBR capabilities, seperated cmbrcc and libcmbr, added new …
Browse files Browse the repository at this point in the history
…test files, etc.
  • Loading branch information
datawater committed Jul 2, 2024
1 parent ac6f513 commit d46492b
Show file tree
Hide file tree
Showing 27 changed files with 1,587 additions and 161 deletions.
63 changes: 60 additions & 3 deletions Cargo.lock

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

15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
[package]
name = "cmbr"
name = "cmbrcc"
version = "0.0.0"
edition = "2021"
license = "GPL-3.0"

[workspace]

[dependencies]
lexopt = "0.3.0"
litemap = "0.7.3"
memmap2 = "0.9.4"
pgn-lexer = { git = "https://github.com/datawater/pgn-lexer" }
libcmbr = { path = "./libcmbr" }

[features]
safe_u24 = []
benchmark = []

[profile.release]
opt-level = 3
strip = true
lto = "fat"
incremental = true
incremental = false
codegen-units = 1

[profile.dev]
opt-level = 1
lto = "thin"
incremental = true
incremental = false
codegen-units = 2048
split-debuginfo = "unpacked"

Expand All @@ -43,7 +42,7 @@ opt-level = "z"

[profile.test]
codegen-units = 2048
incremental = true
incremental = false
lto = true
opt-level = 3

Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ commit: check
git add .
git commit

check:
check: unsafe_check
cargo check
cargo fmt
cargo test
cargo deny check
cargo machete
cargo about generate about.hbs > NOTICE.html
cargo about generate ./scripts/about.hbs > NOTICE.html

unsafe_check:
find . -type f -name "*.rs" -not -path "./target/*" -exec ./scripts/checkunsafe.py {} \;
Loading

0 comments on commit d46492b

Please sign in to comment.