diff options
author | Teddy Wing | 2022-03-13 02:46:31 +0100 |
---|---|---|
committer | Teddy Wing | 2022-03-13 02:46:31 +0100 |
commit | c7f7ffa4488734c97f0be226fa7a5e2d79ca85e5 (patch) | |
tree | fb1ddf25e17a6fd26bdff147c6fac2fb19d2a5ff /Cargo.lock | |
parent | 2219c6dbd34903c1d32641cec56063b621d44c21 (diff) | |
download | yaqlite-c7f7ffa4488734c97f0be226fa7a5e2d79ca85e5.tar.bz2 |
get_column_names(): Remove `unwrap()`s
Return a `Result` and wrap errors in a `thiserror` struct.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 56 |
1 files changed, 56 insertions, 0 deletions
@@ -107,6 +107,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe" [[package]] +name = "proc-macro2" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "quote" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145" +dependencies = [ + "proc-macro2", +] + +[[package]] name = "rusqlite" version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -128,6 +146,43 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" [[package]] +name = "syn" +version = "1.0.86" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "thiserror" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "unicode-xid" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" + +[[package]] name = "vcpkg" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -159,5 +214,6 @@ name = "yaqlite" version = "0.0.1" dependencies = [ "rusqlite", + "thiserror", "yaml-rust", ] |