Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix capi build #210

Open
wants to merge 5 commits into
base: v5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions biscuit-auth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ pub use token::Biscuit;
pub use token::RootKeyProvider;
pub use token::{ThirdPartyBlock, ThirdPartyRequest};

#[cfg(cargo_c)]
#[cfg(feature = "capi")]
mod capi;

#[cfg(cargo_c)]
#[cfg(feature = "capi")]
pub use capi::*;

#[cfg(bwk)]
Expand Down
1 change: 1 addition & 0 deletions biscuit-auth/tests/macros.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(not(feature = "capi"))]
use biscuit_auth::builder;
use biscuit_quote::{
authorizer, authorizer_merge, biscuit, biscuit_merge, block, block_merge, check, fact, policy,
Expand Down
1 change: 1 addition & 0 deletions biscuit-auth/tests/rights.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![allow(unused_must_use)]
#![cfg(not(feature = "capi"))]
use biscuit::builder::*;
use biscuit::datalog::SymbolTable;
use biscuit::KeyPair;
Expand Down
Loading
Loading