Skip to content

Commit

Permalink
add simple container
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Oct 18, 2024
1 parent aa18bbb commit 2debb3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "baa"
version = "0.12.1"
version = "0.12.2"
edition = "2021"
authors = ["Kevin Laeufer <[email protected]>"]
description = "BitVector and Array Arithmetic"
Expand Down
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@ pub type WidthInt = u32;
/// Word size for values.
pub type Word = u64;

/// Wraps either an array or a bit vector value.
#[derive(Debug, Clone, PartialEq)]
pub enum Value {
Array(ArrayValue),
BitVec(BitVecValue),
}

pub use array::*;
pub use bv::*;

0 comments on commit 2debb3d

Please sign in to comment.