Skip to content

Commit

Permalink
fix cargo issues and test work without default-features
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Sep 9, 2023
1 parent f184b7a commit 0822882
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/ffi/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::services::{
issuer::create_credential,
prover::process_credential,
types::{Credential, CredentialRevocationConfig, MakeCredentialValues},
utils::encode_credential_attribute,
helpers::encode_credential_attribute,
};
use crate::Error;

Expand Down
7 changes: 1 addition & 6 deletions src/services/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
mod helpers;

pub(crate) mod helpers;
pub mod issuer;
pub mod prover;
pub mod tails;
pub mod types;
pub mod verifier;

pub mod utils {
pub use super::helpers::encode_credential_attribute;
}
2 changes: 2 additions & 0 deletions tests/multiple-credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ fn test_requests_generate<'a>() -> Vec<ReqInput<'a>> {

#[test]
fn anoncreds_with_multiple_credentials_per_request() {
#[cfg(feature = "logger")]
env_logger::init();

let mut mock = utils::Mock::new(&[ISSUER_ID], &[PROVER_ID], TF_PATH, MAX_CRED_NUM);

let issuer1_creds = create_issuer_data();
Expand Down

0 comments on commit 0822882

Please sign in to comment.