Skip to content

Commit

Permalink
use num_prime for factorisation to fix gnu test
Browse files Browse the repository at this point in the history
  • Loading branch information
cre4ture committed Apr 21, 2024
1 parent 64027e5 commit d202bab
Show file tree
Hide file tree
Showing 22 changed files with 298 additions and 1,690 deletions.
101 changes: 100 additions & 1 deletion Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ nix = { version = "0.28", default-features = false }
nom = "7.1.3"
notify = { version = "=6.0.1", features = ["macos_kqueue"] }
num-bigint = "0.4.4"
num-prime = "0.4.3"
num-traits = "0.2.18"
number_prefix = "0.4"
once_cell = "1.19.0"
Expand Down Expand Up @@ -480,6 +481,7 @@ chrono = { workspace = true }
filetime = { workspace = true }
glob = { workspace = true }
libc = { workspace = true }
num-prime = { workspace = true }
pretty_assertions = "1"
rand = { workspace = true }
regex = { workspace = true }
Expand Down
2 changes: 2 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ skip = [
{ name = "terminal_size", version = "0.2.6" },
# filetime, parking_lot_core
{ name = "redox_syscall", version = "0.4.1" },
# num-prime, rust-ini
{ name = "hashbrown", version = "0.12.3" },
]
# spell-checker: enable

Expand Down
4 changes: 3 additions & 1 deletion src/uu/factor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ num-traits = { workspace = true }
rand = { workspace = true }
smallvec = { workspace = true }
uucore = { workspace = true }
num-bigint = { workspace = true }
num-prime = { workspace = true }

[dev-dependencies]
quickcheck = "1.0.3"
Expand All @@ -30,4 +32,4 @@ name = "factor"
path = "src/main.rs"

[lib]
path = "src/cli.rs"
path = "src/factor.rs"
103 changes: 0 additions & 103 deletions src/uu/factor/build.rs

This file was deleted.

Loading

0 comments on commit d202bab

Please sign in to comment.