Skip to content

Commit

Permalink
Ensure there is always a default store.
Browse files Browse the repository at this point in the history
This integrates the fix from @phlip9 but reorganizes it slightly to keep all the keystores together.

Fixes #128.
  • Loading branch information
brotskydotcom committed May 25, 2023
2 parents 6d3b0e8 + 66228d9 commit cb2422b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,18 @@ pub mod ios;
#[cfg(target_os = "ios")]
use ios as default;

pub mod mock;
#[cfg(not(any(
target_os = "linux",
target_os = "freebsd",
target_os = "macos",
target_os = "ios",
target_os = "windows",
)))]
use mock as default;

pub mod credential;
pub mod error;
pub mod mock;

#[derive(Default, Debug)]
struct EntryBuilder {
Expand Down

0 comments on commit cb2422b

Please sign in to comment.