master
key 3 years ago
parent 886046fdf8
commit c7977fe8cd

246
test/exel/Cargo.lock generated

@ -1,246 +0,0 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "adler"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "bstr"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
dependencies = [
"lazy_static",
"memchr",
"regex-automata",
"serde",
]
[[package]]
name = "byteorder"
version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "calamine"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b86ca78da4bdce5ac0f0bdbc0218ad14232f1e668376e044233f64c527cf5abb"
dependencies = [
"byteorder",
"codepage",
"encoding_rs",
"log",
"quick-xml",
"serde",
"zip",
]
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "codepage"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b0e9222c0cdf2c6ac27d73f664f9520266fa911c3106329d359f8861cb8bde9"
dependencies = [
"encoding_rs",
]
[[package]]
name = "crc32fast"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
"cfg-if",
]
[[package]]
name = "csv"
version = "1.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
dependencies = [
"bstr",
"csv-core",
"itoa",
"ryu",
"serde",
]
[[package]]
name = "csv-core"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
dependencies = [
"memchr",
]
[[package]]
name = "encoding_rs"
version = "0.8.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b"
dependencies = [
"cfg-if",
]
[[package]]
name = "exel"
version = "0.1.0"
dependencies = [
"calamine",
"csv",
]
[[package]]
name = "flate2"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6"
dependencies = [
"crc32fast",
"miniz_oxide",
]
[[package]]
name = "itoa"
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "log"
version = "0.4.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
dependencies = [
"cfg-if",
]
[[package]]
name = "memchr"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
name = "miniz_oxide"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
dependencies = [
"adler",
]
[[package]]
name = "proc-macro2"
version = "1.0.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quick-xml"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3d72d5477478f85bd00b6521780dfba1ec6cdaadcf90b8b181c36d7de561f9b"
dependencies = [
"encoding_rs",
"memchr",
]
[[package]]
name = "quote"
version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
dependencies = [
"proc-macro2",
]
[[package]]
name = "regex-automata"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
[[package]]
name = "ryu"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
[[package]]
name = "serde"
version = "1.0.143"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553"
[[package]]
name = "syn"
version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "thiserror"
version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "unicode-ident"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
[[package]]
name = "zip"
version = "0.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93ab48844d61251bb3835145c521d88aa4031d7139e8485990f60ca911fa0815"
dependencies = [
"byteorder",
"crc32fast",
"flate2",
"thiserror",
]

@ -1,10 +0,0 @@
[package]
name = "exel"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
calamine="0.18.0"
csv="1"

@ -1,26 +0,0 @@
use calamine::{Reader, open_workbook, Xlsx, DataType};
use std::error::Error;
use std::io;
use std::process;
extern crate csv;
fn main() {
let mut workbook: Xlsx<_> = open_workbook("../../test/lists/ifx_price.xlsx").expect("Cannot open file");
if let Some(Ok(range)) = workbook.worksheet_range("Sheet1")
{
//let total_cells = range.get_size().0 * range.get_size().1;
let non_empty_cells: usize = range.used_cells().count();
}
let mut rdr = csv::Reader::from_reader(io::stdin());
// Loop over each record.
for result in rdr.records()
{
let record = result.expect("a CSV record");
println!("{:?}", record[1]);
}
}

@ -1 +0,0 @@
{"rustc_fingerprint":15714985870122818150,"outputs":{"10376369925670944939":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/key/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"15697416045686424142":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.62.1 (e092d0b6b 2022-07-16)\nbinary: rustc\ncommit-hash: e092d0b6b43f2de967af0887873151bb1c0b18d3\ncommit-date: 2022-07-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.62.1\nLLVM version: 14.0.5\n","stderr":""}},"successes":{}}

@ -1,3 +0,0 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":17946092562950227216,"profile":12637318739757120569,"path":15873779088427678181,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/adler-683ef9f28eb63845/dep-lib-adler"}}],"rustflags":[],"metadata":10673633425720882208,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\", \"lazy_static\", \"regex-automata\", \"serde\", \"serde1\", \"serde1-nostd\", \"std\", \"unicode\"]","target":12098047327491445816,"profile":12637318739757120569,"path":1159404528540864726,"deps":[[4999465916801497294,"regex_automata",false,13423847709858553854],[6685014296130524576,"lazy_static",false,17917642087699140178],[6893260508610722743,"memchr",false,6472362957788159912],[14036285059816747405,"serde",false,16788113551330070423]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/bstr-ec1010bb8f445777/dep-lib-bstr"}}],"rustflags":[],"metadata":10235196287122036967,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\", \"std\"]","target":6049797839447724599,"profile":12637318739757120569,"path":11139461988625559516,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/byteorder-86dc37410f9af2da/dep-lib-byteorder"}}],"rustflags":[],"metadata":5398730104718078656,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\"]","target":5362306756859595228,"profile":12637318739757120569,"path":9949918095368994964,"deps":[[486069622437963759,"byteorder",false,213447882713874707],[5942869798628608141,"quick_xml",false,15591884085309193250],[6597564319215557603,"log",false,8734900474077625972],[8517476855702019729,"encoding_rs",false,645709848065681470],[11258653086885923500,"codepage",false,14884809795597125587],[14036285059816747405,"serde",false,16788113551330070423],[15272625996860754561,"zip",false,3612305520702763430]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/calamine-9515d7ef10f57531/dep-lib-calamine"}}],"rustflags":[],"metadata":761326287116100691,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":10094334937643343087,"profile":12637318739757120569,"path":5174707181143725553,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cfg-if-f8ad2a765ea7f234/dep-lib-cfg-if"}}],"rustflags":[],"metadata":8462187951337715540,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":6466832902423507760,"profile":12637318739757120569,"path":5155705499519165190,"deps":[[8517476855702019729,"encoding_rs",false,645709848065681470]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/codepage-e6acbbcdc8a739c8/dep-lib-codepage"}}],"rustflags":[],"metadata":10644070046030609074,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\", \"std\"]","target":2709041430195671023,"profile":12637318739757120569,"path":13166060476417943780,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/crc32fast-324f2576093581f0/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":1784606463606881981,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"","target":0,"profile":0,"path":0,"deps":[[16212523666406317869,"build_script_build",false,16301945842986297791]],"local":[{"RerunIfChanged":{"output":"debug/build/crc32fast-338ddb7620507a9f/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\", \"std\"]","target":13357534918137289702,"profile":12637318739757120569,"path":14875036489436095632,"deps":[[2452538001284770427,"cfg_if",false,13504311777020243064],[16212523666406317869,"build_script_build",false,17735439000454429167]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/crc32fast-e25a5e9d9cbe0a79/dep-lib-crc32fast"}}],"rustflags":[],"metadata":1784606463606881981,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\"]","target":15126747867710219339,"profile":12637318739757120569,"path":6172850983625004487,"deps":[[6893260508610722743,"memchr",false,6472362957788159912]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/csv-core-418e43627419f1cf/dep-lib-csv-core"}}],"rustflags":[],"metadata":6235794881705315069,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":228923518412187372,"profile":12637318739757120569,"path":10375803727584182278,"deps":[[575073654967937391,"ryu",false,1689890349375533248],[2612923968575701784,"csv_core",false,9589562086844494306],[7148353794119508666,"itoa",false,15429021987682991365],[12645112550109686163,"bstr",false,5890588272633627036],[14036285059816747405,"serde",false,16788113551330070423]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/csv-e6445e8c8861801c/dep-lib-csv"}}],"rustflags":[],"metadata":7528235733865466488,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"alloc\", \"default\"]","target":13294766831966498538,"profile":12637318739757120569,"path":1049621049402482470,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/encoding_rs-10735016aa64d8e3/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":10075669053249481654,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"","target":0,"profile":0,"path":0,"deps":[[8517476855702019729,"build_script_build",false,7006729097385078864]],"local":[{"Precalculated":"0.8.31"}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"alloc\", \"default\"]","target":6098957429204380586,"profile":12637318739757120569,"path":17628734484821597322,"deps":[[2452538001284770427,"cfg_if",false,13504311777020243064],[8517476855702019729,"build_script_build",false,2993977032166426363]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/encoding_rs-7d3efc7977352004/dep-lib-encoding_rs"}}],"rustflags":[],"metadata":10075669053249481654,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":5714574906166764181,"profile":9251013656241001069,"path":1684066648322511884,"deps":[[13028429892794651865,"calamine",false,11517868827386475746]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/exel-1e7dadf6929ccbcb/dep-bin-exel"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":5714574906166764181,"profile":9251013656241001069,"path":1684066648322511884,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/exel-2525fe069a5f4175/dep-bin-exel"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":5714574906166764181,"profile":9251013656241001069,"path":1684066648322511884,"deps":[[12572225503482279,"csv",false,1888397867589257346],[13028429892794651865,"calamine",false,11517868827386475746]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/exel-cffd1abf33142e47/dep-bin-exel"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"miniz_oxide\", \"rust_backend\"]","target":6787858929391207439,"profile":12637318739757120569,"path":2568553626120935743,"deps":[[9848698660919851199,"miniz_oxide",false,9190190709809140018],[16212523666406317869,"crc32fast",false,3097748352729218417]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/flate2-cef97a71c77d42b4/dep-lib-flate2"}}],"rustflags":[],"metadata":1284714256429684901,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\", \"std\"]","target":4009500040951542228,"profile":12637318739757120569,"path":12433974310127382449,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/itoa-35efb356354a137a/dep-lib-itoa"}}],"rustflags":[],"metadata":2285756563936990018,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":6139664849541123785,"profile":12637318739757120569,"path":10603055900352969595,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lazy_static-51f8aa49f78e53b1/dep-lib-lazy_static"}}],"rustflags":[],"metadata":111743654650316589,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":2709041430195671023,"profile":12637318739757120569,"path":15981781510625144843,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/log-69ea4e97dec2088f/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":179143468214550567,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"","target":0,"profile":0,"path":0,"deps":[[6597564319215557603,"build_script_build",false,16463333209884512353]],"local":[{"RerunIfChanged":{"output":"debug/build/log-b69d54da94e42462/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[]","target":3529399203280365637,"profile":12637318739757120569,"path":13602582848438612474,"deps":[[2452538001284770427,"cfg_if",false,13504311777020243064],[6597564319215557603,"build_script_build",false,17854518535441572930]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/log-b703fbc92249b30e/dep-lib-log"}}],"rustflags":[],"metadata":179143468214550567,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"","target":0,"profile":0,"path":0,"deps":[[6893260508610722743,"build_script_build",false,4702501436885343790]],"local":[{"Precalculated":"2.5.0"}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}

@ -1 +0,0 @@
{"rustc":14997152855509374802,"features":"[\"default\", \"std\"]","target":13294766831966498538,"profile":12637318739757120569,"path":5742125739592279051,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/memchr-79a16f62d28a8d53/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":508135869874479790,"config":2202906307356721367,"compile_kind":0}

@ -1 +0,0 @@
This file has an mtime of when this was started.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save