Skip to content

Commit f1d4698

Browse files
committed
Doc updates for 4.1 release.
1 parent aa968af commit f1d4698

2 files changed

Lines changed: 29 additions & 37 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
The detailed list of changes in each release can be found at https://github.com/hwchen/secret-service-rs/releases.
1+
## v4.1.0
2+
- expose dbus::Path fields on Items and Collections
3+
- allow creation of Items and Collections from a remembered path
4+
- update the MSRV to 1.78 (minimum for `Cargo.lock` version 4)
5+
- make lifetimes explicit to avoid Clippy complaints
6+
7+
### v4.0.3
8+
- doc updates only (no code changes)
9+
10+
### v4.0.2 API and doc fixes
11+
- add `Sync` to the error API
12+
- fix repository URL in `Cargo.toml`
13+
14+
# v4.0.0 first public release
15+
- same API as v4 of the secret-service crate.

README.md

Lines changed: 14 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,37 @@
55
[![crates.io](https://img.shields.io/crates/v/dbus-secret-service.svg?style=flat-square)](https://crates.io/crates/dbus-secret-service)
66
[![docs.rs](https://docs.rs/dbus-secret-service/badge.svg)](https://docs.rs/dbus-secret-service)
77

8-
This crate is a knock-off of the [hwchen/secret-service](https://crates.io/crates/secret-service) crate, which is
9-
currently at version 4 and uses [zbus](https://crates.io/crates/zbus) to access the secret service. The basic
10-
collection, item and search APIs in this crate are meant to work the same as the blocking APIs in the zbus-based crate.
11-
If they don't, please file a bug.
8+
This crate started as a knock-off of the [secret-service](https://crates.io/crates/secret-service) crate, which uses [zbus](https://crates.io/crates/zbus) to access the secret service. The basic collection, item and search APIs in this crate are meant to work the same as the blocking APIs in the zbus-based crate. If they don't, please file a bug.
129

13-
Why do a knock-off? So that folks who write synchronous Rust apps that access the secret service (typically through
14-
the [hwchen/keyring](https://crates.io/crates/keyring) crate) are not required to add an async runtime. Because this
15-
knock-off uses lib-dbus, it doesn't require an async runtime.
16-
17-
Why is this crate starting at version 4? Since its API matches a particular version of the dbus-based crate, I figured
18-
it would be clearest if its version number matched that version as well.
10+
Why do a knock-off? So that folks who write synchronous Rust apps that access the secret service (for example, [Keyring](https://open-source-cooperative/keyring-rs/wiki/Keyring) clients) are not required to add an async runtime. Because this knock-off uses lib-dbus, it doesn't require an async runtime.
1911

2012
## Usage
2113

22-
For code usage examples, see the [documentation](https://docs.rs/dbus-secret-service).
14+
For code usage examples, see the [documentation](https://docs.rs/dbus-secret-service) and the [example program](https://github.com/open-source-cooperative/dbus-secret-service/blob/main/examples/example.rs).
2315

24-
This crate has no default features, and requires no features to run. If you need your secrets to be encrypted on their
25-
way to and from the secret service, then add one of the crypto features:
16+
This crate has no default features, and requires no features to run. If you want your secrets to be encrypted on their
17+
way to and from the secret service (highly recommended), then add one of the crypto features:
2618

2719
* `crypto-rust` uses pure Rust crates for encryption.
2820
* `crypto-openssl` uses the openssl libraries for encryption (which must be installed).
2921

30-
See the [documentation](https://docs.rs/dbus-secret-service) for details on how to specify use of an encrypted session.
22+
See the [documentation](https://docs.rs/dbus-secret-service) for details on how to connect to the Secret Service with an encrypted session.
3123

32-
To _build_ a project that uses this crate, your development machine will need
33-
to have the dbus development headers installed,
34-
and the openssl development headers for the `crypto-openssl` feature.
35-
To _run_ an application that uses this crate,
36-
your machine will need to have `libdbus` installed
37-
(almost all do),
38-
and the openssl libraries for the `crypto-openssl` feature.
39-
If you want to avoid this runtime requirement,
40-
you can specify the `vendored` feature at build time:
41-
this will statically link the needed libraries with your executable.
24+
To _build_ a project that uses this crate, your development machine will need to have the dbus development headers installed, and the openssl development headers for the `crypto-openssl` feature. To _run_ an application that uses this crate, your machine will need to have `libdbus` installed (almost all do), and the openssl libraries for the `crypto-openssl` feature. If you want to avoid this runtime requirement on clients, you can specify the `vendored` feature at build time: this will build and statically link the needed libraries with your executable.
4225

4326
### Functionality
4427

45-
- SecretService: initialize dbus, create plain/encrypted session.
46-
- Collections: create, delete, search.
47-
- Items: create, delete, search, get/set secret.
28+
* SecretService: initialize dbus, create plain or encrypted session connection.
29+
* Collections: create, delete, search.
30+
* Items: create, delete, search, get/set secret.
4831

49-
## Changelog
32+
## Change History
5033

51-
v4.0.0: first release, same API as secret-service v4.0.
34+
See [CHANGELOG.md](CHANGELOG.md).
5235

5336
## License
5437

55-
The copyright to all material in this repository belongs to the collective
56-
of contributors who have checked material into this repository.
38+
The copyright to all material in this repository belongs to the collective of contributors who have checked material into this repository.
5739

5840
All material is this repository is licensed under either of
5941

@@ -64,8 +46,4 @@ at your option.
6446

6547
## Contribution
6648

67-
Unless you explicitly state otherwise,
68-
any contribution intentionally submitted for inclusion in the work by you,
69-
as defined in the Apache-2.0 license,
70-
shall be dual licensed as above,
71-
without any additional terms or conditions.
49+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

0 commit comments

Comments
 (0)