Skip to content

Commit

Permalink
Update to transition from BigInt to {ui}128 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon authored Nov 24, 2022
1 parent d0ab79e commit dc7bee8
Show file tree
Hide file tree
Showing 8 changed files with 299 additions and 472 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- if: "github.ref_protected"
run: echo 'CARGO_HACK_ARGS=--feature-powerset' >> $GITHUB_ENV
- if: "!github.ref_protected"
run: echo 'CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features base64,serde,num-bigint,arbitrary' >> $GITHUB_ENV
run: echo 'CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features base64,serde,arbitrary' >> $GITHUB_ENV
- run: cargo hack clippy $CARGO_HACK_ARGS --target ${{ matrix.sys.target }} --all-targets

test:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- if: "github.ref_protected"
run: echo 'CARGO_HACK_ARGS=--feature-powerset' >> $GITHUB_ENV
- if: "!github.ref_protected"
run: echo 'CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features base64,serde,num-bigint,arbitrary' >> $GITHUB_ENV
run: echo 'CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features base64,serde,arbitrary' >> $GITHUB_ENV
- run: cargo hack test $CARGO_HACK_ARGS

publish-dry-run:
Expand Down
12 changes: 0 additions & 12 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ base64 = { version = "0.13.0", optional = true }
serde = { version = "1.0.139", features = ["derive"], optional = true }
serde_with = { version = "2.0.1", optional = true }
hex = { version = "0.4.3", optional = true }
num-bigint = { version = "0.4.3", optional = true }
arbitrary = {version = "1.1.3", features = ["derive"], optional = true}
const_format = "0.2.30"

Expand All @@ -33,7 +32,6 @@ next = []
# Features dependent on optional dependencies.
base64 = ["std", "dep:base64"]
serde = ["alloc", "dep:serde", "dep:serde_with", "hex/serde"]
num-bigint = ["alloc", "dep:num-bigint"]
arbitrary = ["std", "dep:arbitrary"]
hex = []

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export RUSTFLAGS=-Dwarnings -Dclippy::all -Dclippy::pedantic

CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features base64,serde,num-bigint,arbitrary,hex
CARGO_HACK_ARGS=--feature-powerset --exclude-features default --group-features base64,serde,arbitrary,hex

all: build test

Expand Down
Loading

0 comments on commit dc7bee8

Please sign in to comment.