diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57d7cca..f630672 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Setup rust tooling run: | - rustup override set 1.74 + rustup override set 1.81 rustup component add rustfmt clippy - uses: ./.github/actions/ci @@ -49,7 +49,7 @@ jobs: - name: Setup rust tooling run: | - rustup override set 1.74 + rustup override set 1.81 rustup component add rustfmt clippy rustup target add x86_64-unknown-linux-musl diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/manual-publish.yml index 02178df..0284c34 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/manual-publish.yml @@ -19,7 +19,7 @@ jobs: - name: Setup rust tooling run: | - rustup override set 1.74 + rustup override set 1.81 rustup component add rustfmt clippy - uses: ./.github/actions/ci diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index cf46a18..ef7401f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -24,7 +24,7 @@ jobs: - name: Setup rust tooling if: ${{ steps.release.outputs['launchdarkly-server-sdk--release_created'] == 'true' }} run: | - rustup override set 1.74 + rustup override set 1.81 rustup component add rustfmt clippy - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0 diff --git a/contract-tests/Cargo.toml b/contract-tests/Cargo.toml index 2e66d1b..06d02cb 100644 --- a/contract-tests/Cargo.toml +++ b/contract-tests/Cargo.toml @@ -2,7 +2,7 @@ name = "contract-tests" version = "0.1.0" edition = "2021" -rust-version = "1.74.0" # MSRV +rust-version = "1.81.0" # MSRV license = "Apache-2.0" [dependencies] diff --git a/launchdarkly-server-sdk/Cargo.toml b/launchdarkly-server-sdk/Cargo.toml index f399b43..68b2acc 100644 --- a/launchdarkly-server-sdk/Cargo.toml +++ b/launchdarkly-server-sdk/Cargo.toml @@ -4,7 +4,7 @@ description = "LaunchDarkly Server-Side SDK" version = "2.4.1" authors = ["LaunchDarkly"] edition = "2021" -rust-version = "1.74.0" # MSRV +rust-version = "1.81.0" # MSRV license = "Apache-2.0" homepage = "https://docs.launchdarkly.com/sdk/server-side/rust" repository = "https://github.com/launchdarkly/rust-server-sdk" diff --git a/launchdarkly-server-sdk/src/data_source.rs b/launchdarkly-server-sdk/src/data_source.rs index 1e6a0b8..55c786f 100644 --- a/launchdarkly-server-sdk/src/data_source.rs +++ b/launchdarkly-server-sdk/src/data_source.rs @@ -24,7 +24,7 @@ const FLAGS_PREFIX: &str = "/flags/"; const SEGMENTS_PREFIX: &str = "/segments/"; #[derive(Debug)] -#[allow(clippy::enum_variant_names)] +#[allow(clippy::enum_variant_names, dead_code)] pub enum Error { InvalidEventData { event_type: String, diff --git a/launchdarkly-server-sdk/src/service_endpoints.rs b/launchdarkly-server-sdk/src/service_endpoints.rs index f8c33b8..708ec68 100644 --- a/launchdarkly-server-sdk/src/service_endpoints.rs +++ b/launchdarkly-server-sdk/src/service_endpoints.rs @@ -32,16 +32,17 @@ impl ServiceEndpoints { /// changing these properties: /// /// - You are using the LaunchDarkly -/// Relay Proxy. In this case, use [ServiceEndpointsBuilder::relay_proxy] with the URL of the relay proxy instance. +/// Relay Proxy. In this case, use [ServiceEndpointsBuilder::relay_proxy] with the URL of the +/// relay proxy instance. /// /// - You are connecting to a private instance of LaunchDarkly, rather than the standard production -/// services. In this case, there will be custom base URIs for each service. You need to configure -/// each endpoint with [ServiceEndpointsBuilder::polling_base_url], -/// [ServiceEndpointsBuilder::streaming_base_url], and [ServiceEndpointsBuilder::events_base_url]. +/// services. In this case, there will be custom base URIs for each service. You need to configure +/// each endpoint with [ServiceEndpointsBuilder::polling_base_url], +/// [ServiceEndpointsBuilder::streaming_base_url], and [ServiceEndpointsBuilder::events_base_url]. /// /// - You are connecting to a test fixture that simulates the service endpoints. In this case, you -/// may set the base URLs to whatever you want, although the SDK will still set the URL paths to -/// the expected paths for LaunchDarkly services. +/// may set the base URLs to whatever you want, although the SDK will still set the URL paths to +/// the expected paths for LaunchDarkly services. /// /// # Examples ///