From b8ad94cd5061445a45d0790eee36014d34ad6817 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sat, 22 Feb 2025 22:59:01 +0100 Subject: replace deprecated failure crate with thiserror this changes the public API in that all our methods now return a proper ProtocolError crate. Needed change anyways to properly deal with all our errors in the long run. Will still need to do a pass through the crate to remove all existing unwraps where it makes sense. --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e63bf83..e337cf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,10 @@ include = ["src/**/*", "LICENSE", "README.md"] [dependencies] log = "0.4" byteorder = "1.3.2" -failure = "0.1" time = { version = "0.3", features = ["macros", "parsing", "local-offset"] } +thiserror = "2" + num-traits = "0.2" num-derive = "0.4" -- cgit v1.2.3