use crate::error::{BzrError, Result};
const UNSUPPORTED: &str = "this bzr build was compiled without keyring support; \
rebuild with --features keyring or use api_key_env";
#[cfg_attr(test, mutants::skip)]
pub fn store(_service: &str, _account: &str, _secret: &str) -> Result<()> {
Err(BzrError::Keyring(UNSUPPORTED.into()))
}
#[cfg_attr(test, mutants::skip)]
pub fn retrieve(_service: &str, _account: &str) -> Result<String> {
Err(BzrError::Keyring(UNSUPPORTED.into()))
}
#[cfg_attr(test, mutants::skip)]
pub fn delete(_service: &str, _account: &str) -> Result<()> {
Err(BzrError::Keyring(UNSUPPORTED.into()))
}
#[cfg(test)]
#[path = "keyring_stub_tests.rs"]
mod tests;