Skip to content

Commit

Permalink
fix a doc mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwingfly committed Jun 22, 2024
1 parent fece188 commit a605340
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

## [Unreleased]

## [0.2.9] - 2024-06-21

- fix a doc mistake

## [0.2.8] - 2024-06-21

- doc: for linux doc
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["encrypt-config", "encrypt-config-derive", "tests", "examples"]
resolver = "2"

[workspace.package]
version = "0.2.8"
version = "0.2.9"
authors = ["Louis <[email protected]>"]
description = "A Rust crate to manage, persist and encrypt your configurations."
license = "MIT"
Expand All @@ -13,7 +13,7 @@ documentation = "https://docs.rs/encrypt-config"

[workspace.dependencies]
encrypt_config = { path = "encrypt-config", default-features = false }
encrypt_config_derive = { path = "encrypt-config-derive", default-features = false, version = "0.2.8" }
encrypt_config_derive = { path = "encrypt-config-derive", default-features = false, version = "0.2.9" }
keyring = { version = "2.3", default-features = false }

[profile.dev]
Expand Down
6 changes: 3 additions & 3 deletions encrypt-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ This crate also has some optional features:

### Causion

One of `linux-secret-service` and `linux-keyutils` features should be enabled on Linux, or a compile error will be raised.
One of `linux-secret-service` and `linux-keyutils` features should be enabled on Linux, or a compile error will be raised.


<p align="right">(<a href="#readme-top">back to top</a>)</p>
Expand All @@ -105,10 +105,10 @@ One of `linux-secret-service` and `linux-keyutils` features should be enabled on
### Import
```toml
[target.'cfg(target_os = "linux")'.dependencies]
keyring = { version = "0.2", features ["full", "linux-secret-service"] }
encrypt_config = { version = "0.2", features ["full", "linux-secret-service"] }

[target.'cfg(not(target_os = "linux"))'.dependencies]
keyring = { version = "0.2", features ["full"] }
encrypt_config = { version = "0.2", features ["full"] }
```
### Example
```rust no_run
Expand Down

0 comments on commit a605340

Please sign in to comment.