mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
update deps calamine and quick-xml (#11582)
# Description This PR updates a few outdated dependencies. # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> # Tests + Formatting <!-- Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass (on Windows make sure to [enable developer mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging)) - `cargo run -- -c "use std testing; testing run-tests --path crates/nu-std"` to run the tests for the standard library > **Note** > from `nushell` you can also use the `toolkit` as follows > ```bash > use toolkit.nu # or use an `env_change` hook to activate it automatically > toolkit check pr > ``` --> # After Submitting <!-- If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. -->
This commit is contained in:
parent
c8f30fa3bf
commit
f12f590d82
5 changed files with 9 additions and 9 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -494,9 +494,9 @@ checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc"
|
|||
|
||||
[[package]]
|
||||
name = "calamine"
|
||||
version = "0.22.1"
|
||||
version = "0.23.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fe0ba51a659bb6c8bffd6f7c1c5ffafcafa0c97e4769411d841c3cc5c154ab47"
|
||||
checksum = "47a4d6ea525ea187df1e3a1c4b23469b1cbe60c5bafc1c0ef14b2b8738a8303d"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"codepage",
|
||||
|
@ -4224,9 +4224,9 @@ checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
|
|||
|
||||
[[package]]
|
||||
name = "quick-xml"
|
||||
version = "0.30.0"
|
||||
version = "0.31.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956"
|
||||
checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33"
|
||||
dependencies = [
|
||||
"encoding_rs",
|
||||
"memchr",
|
||||
|
|
|
@ -32,7 +32,7 @@ alphanumeric-sort = "1.5"
|
|||
base64 = "0.21"
|
||||
byteorder = "1.5"
|
||||
bytesize = "1.3"
|
||||
calamine = "0.22"
|
||||
calamine = "0.23.1"
|
||||
chrono = { version = "0.4", features = ["std", "unstable-locales"], default-features = false }
|
||||
chrono-humanize = "0.2.3"
|
||||
chrono-tz = "0.8"
|
||||
|
@ -67,7 +67,7 @@ os_pipe = "1.1"
|
|||
pathdiff = "0.2"
|
||||
percent-encoding = "2.3"
|
||||
print-positions = "0.6"
|
||||
quick-xml = "0.30"
|
||||
quick-xml = "0.31.0"
|
||||
rand = "0.8"
|
||||
rayon = "1.8"
|
||||
regex = "1.9.5"
|
||||
|
|
|
@ -134,7 +134,7 @@ fn from_ods(
|
|||
for sheet_name in sheet_names {
|
||||
let mut sheet_output = vec![];
|
||||
|
||||
if let Some(Ok(current_sheet)) = ods.worksheet_range(&sheet_name) {
|
||||
if let Ok(current_sheet) = ods.worksheet_range(&sheet_name) {
|
||||
for row in current_sheet.rows() {
|
||||
let record = row
|
||||
.iter()
|
||||
|
|
|
@ -133,7 +133,7 @@ fn from_xlsx(
|
|||
for sheet_name in sheet_names {
|
||||
let mut sheet_output = vec![];
|
||||
|
||||
if let Some(Ok(current_sheet)) = xlsx.worksheet_range(&sheet_name) {
|
||||
if let Ok(current_sheet) = xlsx.worksheet_range(&sheet_name) {
|
||||
for row in current_sheet.rows() {
|
||||
let record = row
|
||||
.iter()
|
||||
|
|
|
@ -108,7 +108,7 @@ mod test {
|
|||
fn test_escape() {
|
||||
// check for input arg like this:
|
||||
// nu b.nu \ --arg='"'
|
||||
assert_eq!(escape_for_script_arg(r#"\"#), r#""\\""#.to_string());
|
||||
assert_eq!(escape_for_script_arg(r"\"), r#""\\""#.to_string());
|
||||
assert_eq!(
|
||||
escape_for_script_arg(r#"--arg=""#),
|
||||
r#"--arg="\"""#.to_string()
|
||||
|
|
Loading…
Reference in a new issue