Skip to content

docs: FlagD Update lib.rs and README to have version agnostic instructions #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions crates/flagd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ and connection management. It is designed to work seamlessly with the OpenFeatur

### Installation
Add the dependency in your `Cargo.toml`:
```toml
[dependencies]
open-feature-flagd = "0.0.4"
open-feature = "0.2"
```bash
cargo add open-feature-flagd
cargo add open-feature
```
Then integrate it into your application:

Expand Down Expand Up @@ -184,3 +183,5 @@ Configurations can be provided as constructor options or via environment variabl
### License
Apache 2.0 - See [LICENSE](./../../LICENSE) for more information.


License: Apache-2.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to add this again?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated it, once you added license to cargo.toml cargo readme added it automatically to README.md also, I missed while checking git diff. Thanks!

7 changes: 3 additions & 4 deletions crates/flagd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
//!
//! ## Installation
//! Add the dependency in your `Cargo.toml`:
//! ```toml
//! [dependencies]
//! open-feature-flagd = "0.0.1"
//! open-feature = "0.2"
//! ```bash
//! cargo add open-feature-flagd
//! cargo add open-feature
//! ```
//! Then integrate it into your application:
//!
Expand Down
Loading