Skip to content

Commit 1b472ff

Browse files
authored
fix: Bump MSRV to 1.81 (#109)
1 parent 65b708a commit 1b472ff

File tree

7 files changed

+14
-13
lines changed

7 files changed

+14
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Setup rust tooling
2222
run: |
23-
rustup override set 1.74
23+
rustup override set 1.81
2424
rustup component add rustfmt clippy
2525
2626
- uses: ./.github/actions/ci
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Setup rust tooling
5151
run: |
52-
rustup override set 1.74
52+
rustup override set 1.81
5353
rustup component add rustfmt clippy
5454
rustup target add x86_64-unknown-linux-musl
5555

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Setup rust tooling
2121
run: |
22-
rustup override set 1.74
22+
rustup override set 1.81
2323
rustup component add rustfmt clippy
2424
2525
- uses: ./.github/actions/ci

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup rust tooling
2525
if: ${{ steps.release.outputs['launchdarkly-server-sdk--release_created'] == 'true' }}
2626
run: |
27-
rustup override set 1.74
27+
rustup override set 1.81
2828
rustup component add rustfmt clippy
2929
3030
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0

contract-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "contract-tests"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.74.0" # MSRV
5+
rust-version = "1.81.0" # MSRV
66
license = "Apache-2.0"
77

88
[dependencies]

launchdarkly-server-sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "LaunchDarkly Server-Side SDK"
44
version = "2.4.1"
55
authors = ["LaunchDarkly"]
66
edition = "2021"
7-
rust-version = "1.74.0" # MSRV
7+
rust-version = "1.81.0" # MSRV
88
license = "Apache-2.0"
99
homepage = "https://docs.launchdarkly.com/sdk/server-side/rust"
1010
repository = "https://github.com/launchdarkly/rust-server-sdk"

launchdarkly-server-sdk/src/data_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const FLAGS_PREFIX: &str = "/flags/";
2424
const SEGMENTS_PREFIX: &str = "/segments/";
2525

2626
#[derive(Debug)]
27-
#[allow(clippy::enum_variant_names)]
27+
#[allow(clippy::enum_variant_names, dead_code)]
2828
pub enum Error {
2929
InvalidEventData {
3030
event_type: String,

launchdarkly-server-sdk/src/service_endpoints.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@ impl ServiceEndpoints {
3232
/// changing these properties:
3333
///
3434
/// - You are using the <a href="https://docs.launchdarkly.com/home/advanced/relay-proxy">LaunchDarkly
35-
/// Relay Proxy</a>. In this case, use [ServiceEndpointsBuilder::relay_proxy] with the URL of the relay proxy instance.
35+
/// Relay Proxy</a>. In this case, use [ServiceEndpointsBuilder::relay_proxy] with the URL of the
36+
/// relay proxy instance.
3637
///
3738
/// - You are connecting to a private instance of LaunchDarkly, rather than the standard production
38-
/// services. In this case, there will be custom base URIs for each service. You need to configure
39-
/// each endpoint with [ServiceEndpointsBuilder::polling_base_url],
40-
/// [ServiceEndpointsBuilder::streaming_base_url], and [ServiceEndpointsBuilder::events_base_url].
39+
/// services. In this case, there will be custom base URIs for each service. You need to configure
40+
/// each endpoint with [ServiceEndpointsBuilder::polling_base_url],
41+
/// [ServiceEndpointsBuilder::streaming_base_url], and [ServiceEndpointsBuilder::events_base_url].
4142
///
4243
/// - You are connecting to a test fixture that simulates the service endpoints. In this case, you
43-
/// may set the base URLs to whatever you want, although the SDK will still set the URL paths to
44-
/// the expected paths for LaunchDarkly services.
44+
/// may set the base URLs to whatever you want, although the SDK will still set the URL paths to
45+
/// the expected paths for LaunchDarkly services.
4546
///
4647
/// # Examples
4748
///

0 commit comments

Comments
 (0)