From cc297011b2616b38af2bb7ad0473571e59d16d77 Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Fri, 8 Apr 2022 23:35:04 +0200 Subject: [PATCH] master > master: code-rust - cargo --- code/rust/Cargo.lock | 33 +++++++++++++++++++++++++++++++-- code/rust/Cargo.toml | 5 ++++- 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/code/rust/Cargo.lock b/code/rust/Cargo.lock index fb547ba..66dfd76 100644 --- a/code/rust/Cargo.lock +++ b/code/rust/Cargo.lock @@ -12,6 +12,7 @@ dependencies = [ "itertools", "numpy", "regex 1.5.5 (git+https://github.com/rust-lang/regex.git)", + "rstest", "rust-embed", "textwrap", "yaml-rust", @@ -383,6 +384,19 @@ name = "regex-syntax" version = "0.6.25" source = "git+https://github.com/rust-lang/regex.git#258bdf798a14f50529c1665e84cc8a3a9e2c90fc" +[[package]] +name = "rstest" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d912f35156a3f99a66ee3e11ac2e0b3f34ac85a07e05263d05a7e2c8810d616f" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "rustc_version", + "syn", +] + [[package]] name = "rust-embed" version = "6.3.0" @@ -417,6 +431,15 @@ dependencies = [ "walkdir", ] +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + [[package]] name = "same-file" version = "1.0.6" @@ -432,6 +455,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "semver" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65bd28f48be7196d222d95b9243287f48d27aca604e08497513019ff0502cc4" + [[package]] name = "sha2" version = "0.9.9" @@ -470,9 +499,9 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.14.2" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80" +checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" dependencies = [ "smawk", "unicode-linebreak", diff --git a/code/rust/Cargo.toml b/code/rust/Cargo.toml index 6574b02..bba1fa4 100644 --- a/code/rust/Cargo.toml +++ b/code/rust/Cargo.toml @@ -8,6 +8,9 @@ members = [ ".", ] +[dev-dependencies] +rstest = { version = "0.12.0" } + [dependencies] rust-embed = { version = "6.3.0" } closure = { version = "0.3.0" } @@ -16,7 +19,7 @@ dyn-fmt = { version = "0.3.0" } argparse = { version = "0.2.2" } regex = { git = "https://github.com/rust-lang/regex.git", version = "1.5.4" } yaml-rust = { git = "https://github.com/chyh1990/yaml-rust.git", version = "0.4.4" } -textwrap = { version = "0.14.2" } +textwrap = { version = "0.15.0" } itertools = { version = "0.10.3" } numpy = { version = "0.16.2" }