# keyring-search
---
## Keyring-rs
[](https://github.com/wiimmers/keyring-search/actions)
[](https://github.com/wiimmers/keyring-search)
[](https://crates.io/crates/keyring-search)
[](https://docs.rs/keyring-search)
## Usage
To use this library in your project add the following to your `Cargo.toml` file:
```toml
[dependencies]
keyring = "2"
```
```rust
use keyring::{Entry, Result};
fn main() -> Result<()> {
let entry = Entry::new("my_service", "my_name")?;
entry.set_password("topS3cr3tP4$$w0rd")?;
let password = entry.get_password()?;
println!("My password is '{}'", password);
entry.delete_password()?;
Ok(())
}
```
## Errors
## Examples
## Client Testing
## Extensibility
## Platforms
For example, you might use
```toml
keyring = { version = "2", default_features = false, features = ["linux-secret-service"] }
```
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.