Skip to content

Commit

Permalink
remove thiserror dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Sep 10, 2024
1 parent 62f05e5 commit c1f0216
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "baa"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
authors = ["Kevin Laeufer <laeufer@berkeley.edu>"]
description = "BitVector and Array Arithmetic"
Expand All @@ -13,12 +13,14 @@ readme = "Readme.md"
rust-version = "1.73.0"

[dependencies]
# core dependency, used for owned bitvector type
smallvec = { version = "1.13.2", features = ["const_new", "union"] }
# optional dependencies for crate interop
bitvec = { version = "1.0", optional = true, features = ["std", "alloc"] }
fraction = { version = "0.11", optional = true }
num-bigint = { version = "0.4", optional = true}
smallvec = { version = "1.13.2", features = ["const_new", "union"] }
serde = { version = "1.0", features = ["derive"], optional = true }
thiserror = "1.0.60"


[dev-dependencies]
proptest = "1.4.0"
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ pub type WidthInt = u32;
/// Word size for values.
pub type Word = u64;

use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {}

pub use arithmetic::mask;
pub use ops::{ArrayMutOps, ArrayOps, BitVecMutOps, BitVecOps, DENSE_ARRAY_MAX_INDEX_WIDTH};
pub use value::borrowed::{ArrayValueMutRef, ArrayValueRef, BitVecValueMutRef, BitVecValueRef};
Expand Down

0 comments on commit c1f0216

Please sign in to comment.