Skip to content

Commit

Permalink
Merge pull request #592 from hacspec/hax-lib-expose-proc-macros
Browse files Browse the repository at this point in the history
feat(hax-lib): export proc-macros from `hax-lib-macros`
  • Loading branch information
W95Psp authored Apr 10, 2024
2 parents f7e3bbe + 7ace44d commit fd78dab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hax-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ description = "Hax-specific helpers for Rust programs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
hax-lib-macros = {path = "../hax-lib-macros"}
2 changes: 2 additions & 0 deletions hax-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,5 @@ pub fn exists<T>(_f: impl Fn(T) -> bool) -> bool {
pub fn implies(lhs: bool, rhs: impl Fn() -> bool) -> bool {
!lhs || rhs()
}

pub use hax_lib_macros::*;

0 comments on commit fd78dab

Please sign in to comment.