17 releases (stable)

2.3.0 Oct 25, 2024
2.2.0 Jul 19, 2024
2.1.0 Mar 15, 2024
2.0.2 Dec 21, 2023
1.0.0-beta.2 Feb 2, 2022

#22 in Configuration

Download history 55439/week @ 2024-07-29 41518/week @ 2024-08-05 66000/week @ 2024-08-12 66974/week @ 2024-08-19 37768/week @ 2024-08-26 34659/week @ 2024-09-02 38983/week @ 2024-09-09 27278/week @ 2024-09-16 21064/week @ 2024-09-23 18464/week @ 2024-09-30 18290/week @ 2024-10-07 17964/week @ 2024-10-14 18239/week @ 2024-10-21 14018/week @ 2024-10-28 12777/week @ 2024-11-04 16096/week @ 2024-11-11

61,742 downloads per month
Used in launchdarkly-server-sdk-r…

Apache-2.0

425KB
10K SLoC

LaunchDarkly Server-Side SDK for Rust

Run CI

The LaunchDarkly Server-Side SDK for Rust is designed primarily for use in multi-user systems such as web servers and applications. It follows the server-side LaunchDarkly model for multi-user contexts. It is not intended for use in desktop and embedded systems applications.

LaunchDarkly overview

LaunchDarkly is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. Get started using LaunchDarkly today!

Twitter Follow

Getting started

Refer to the SDK documentation for instructions on getting started with using the SDK.

This repository also contains several small example implementations. You can run these with:

cargo run --example EXAMPLE_NAME

Learn more

Read our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for this SDK.

Testing

We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.

Contributing

We encourage pull requests and other contributions from the community. Check out our contributing guidelines for instructions on how to contribute to this SDK.

About LaunchDarkly

  • LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
    • Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
    • Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
    • Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
    • Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
  • LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read our documentation for a complete list.
  • Explore LaunchDarkly

Dependencies

~21–34MB
~619K SLoC