Skip to content

Commit

Permalink
Merge branch 'main' into enricozb/f32
Browse files Browse the repository at this point in the history
  • Loading branch information
enricozb committed Apr 15, 2024
2 parents 4def02a + 51a5d23 commit 9621d33
Show file tree
Hide file tree
Showing 47 changed files with 588 additions and 475 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ jobs:
- run: RUSTFLAGS="-D warnings" cargo check --all-targets
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --features trace
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --features _fuzz
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --no-default-features
clippy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: dsherret/rust-toolchain-file@v1
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-clippy-${{ hashFiles('**/Cargo.lock') }}
- run: RUSTFLAGS="-D warnings" cargo clippy --all-targets
- run: RUSTFLAGS="-D warnings" cargo clippy --all-targets --features trace
- run: RUSTFLAGS="-D warnings" cargo clippy --all-targets --features _fuzz
- run: RUSTFLAGS="-D warnings" cargo clippy --all-targets --no-default-features
test:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
17 changes: 17 additions & 0 deletions Cargo.lock

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

11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ license = "MIT"
[[bin]]
name = "hvmc"
path = "src/main.rs"
required-features = ["cli"]
bench = false

[lib]
Expand All @@ -23,20 +24,24 @@ panic = "abort"
debug = "full"

[dependencies]
TSPL = "0.0.9"
arrayvec = "0.7.4"
clap = { version = "4.5.1", features = ["derive"] }
clap = { version = "4.5.1", features = ["derive"], optional = true }
nohash-hasher = { version = "0.2.0" }
ordered-float = "4.2.0"
parking_lot = "0.12.1"
stacker = "0.1.15"
thiserror = "1.0.58"

##--COMPILER-CUTOFF--##

[features]
default = ["_full_cli"]
default = ["cli", "_full_cli"]
std = []
cli = ["std", "dep:clap"]
trace = []
_full_cli = []
_fuzz = []
_fuzz = ["std"]
_fuzz_no_free = ["_fuzz"]

[dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"tids",
"tlog",
"trgs",
"tspl",
"trit",
"uninit",
"unioned",
Expand Down
Loading

0 comments on commit 9621d33

Please sign in to comment.