Skip to content

Commit

Permalink
feat: proper error handling with enums and thiserror (#69) (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Apr 24, 2023
1 parent d0fca0f commit add8248
Show file tree
Hide file tree
Showing 24 changed files with 863 additions and 684 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ name = "hgvs"
path = "src/lib.rs"

[dependencies]
anyhow = "1.0.69"
base16ct = "0.2.0"
bio = "1.1.0"
chrono = "0.4.23"
Expand All @@ -29,9 +28,10 @@ postgres = { version = "0.19.4", features = ["with-chrono-0_4"] }
quick_cache = "0.2.2"
regex = "1.7.1"
rustc-hash = "1.1.0"
seqrepo = { version = "0.3.0" }
seqrepo = { version = "0.4.0" }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
thiserror = "1.0"

[dev-dependencies]
csv = "1.2.0"
Expand All @@ -40,6 +40,7 @@ pretty_assertions = "1.3.0"
rstest = "0.17.0"
test-log = "0.2.11"
criterion = "0.4"
anyhow = "1.0.70"

[[bench]]
name = "translate_cds"
Expand Down
Loading

0 comments on commit add8248

Please sign in to comment.