Skip to content

Commit

Permalink
Generate unit test line by line (for --inplace) (rust-lang#2213)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan authored Mar 2, 2023
1 parent 61c433a commit 4b504b2
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 85 deletions.
37 changes: 37 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ dependencies = [
"kani_metadata",
"once_cell",
"pathdiff",
"rand",
"rayon",
"regex",
"rustc-demangle",
Expand Down Expand Up @@ -849,6 +850,12 @@ version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"

[[package]]
name = "ppv-lite86"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"

[[package]]
name = "proc-macro-error"
version = "1.0.4"
Expand Down Expand Up @@ -902,6 +909,36 @@ dependencies = [
"proc-macro2",
]

[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
]

[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
"rand_core",
]

[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
"getrandom",
]

[[package]]
name = "rayon"
version = "1.6.1"
Expand Down
1 change: 1 addition & 0 deletions kani-driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ strum_macros = {version = "0.24.0"}
tracing = {version = "0.1", features = ["max_level_trace", "release_max_level_debug"]}
tracing-subscriber = {version = "0.3.8", features = ["env-filter", "json", "fmt"]}
tracing-tree = "0.2.2"
rand = "0.8"
which = "4.4.0"

# A good set of suggested dependencies can be found in rustup:
Expand Down
Loading

0 comments on commit 4b504b2

Please sign in to comment.