From 933eb8ab38317d894b8b09b4de3cecd317221e06 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 27 Aug 2020 10:45:51 -0700 Subject: Switch from error-chain to thiserror (#33) thiserror provides a simpler interface than error-chain, directly generating an error enum similar to what could be written by hand. It also reduces dependencies; error-chain pulls in backtrace which currently pulls in gimli, which is fairly heavyweight. This changes the error type's interface, so it'll require a bump to 0.7.0. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 7a2e522..ba1c627 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,10 +19,10 @@ repository = "samscott89/serde_qs" [dependencies] actix-web = { version = "2.0", optional = true } data-encoding = "2.2.1" -error-chain = "0.12.2" futures = { version = "0.3", optional = true } percent-encoding = "2.1.0" serde = "1.0.111" +thiserror = "1.0.20" [dev-dependencies] csv = "1.1.3" -- cgit v1.2.3