Skip to content

Commit

Permalink
Clean-up dependencies, do some chores (#73)
Browse files Browse the repository at this point in the history
* remove unused cfg-if dependency

* clean-up dependency management

- No longer enable `serde` dependency when enabling `std` crate feature.
- Rename `serde-1` to just `serde`.

* apply rustfmt and clippy fixes

* remove conditional compilation for outdated tarpaulin coverage reporter

* fix serde-1 renaming usage

* update to hashbrown 0.15.1

* fix GitHub CI debug-assertions setting

* remove commented out code

* update html_root_url for next version

* fix clippy warning

* silence useless clippy warning

* move code in front of test module

* try to fix coverage CI job

* no longer gitignore Cargo.lock

* add Cargo.lock to git

* improve no_std import config

* fix intra doc link

* apply rustfmt
  • Loading branch information
Robbepop authored Nov 12, 2024
1 parent c2d9ad2 commit 670cf8d
Show file tree
Hide file tree
Showing 12 changed files with 739 additions and 109 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: git submodule update --init --recursive
- name: Test (Release)
env:
RUSTFLAGS: "--cfg debug_assertions"
RUSTFLAGS: "-C debug-assertions"
run: cargo test --release

test-memory:
Expand Down Expand Up @@ -157,7 +157,8 @@ jobs:
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
args: '--features test-allocations -- --test-threads 1'
version: "0.18.0"
args: --features test-allocations --locked -- --test-threads 1
- name: Upload to codecov.io
uses: codecov/[email protected]
with:
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
# Generated by Cargo
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
Cargo.lock
target
Cargo.lock
Loading

0 comments on commit 670cf8d

Please sign in to comment.