Unverified Commit 295bdc8a authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

generate docs for all features (#871)



* generate docs for all features

* Update CI to also check all features

Co-authored-by: default avatarZelda Hessler <zelda.hessler@pm.me>
parent 6e312389
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ jobs:
      run: cargo test --all-features
      working-directory: ${{ matrix.runtime }}/rust-runtime/
    - name: generate docs
      run: cargo doc --no-deps --document-private-items
      run: cargo doc --no-deps --document-private-items --all-features
      working-directory: ${{ matrix.runtime }}/rust-runtime/
      env:
        RUSTDOCFLAGS: -D warnings
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
//! Default Provider chains for [`region`](default_provider::region) and [`credentials`](default_provider::credentials).
//!
//! Unless specific configuration is required, these should be constructed via [`ConfigLoader`](crate::ConfigLoader).
//!

/// Default region provider chain
pub mod region {
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ val DECORATORS = listOf(
    GlacierDecorator(),

    // Only build docs-rs for linux to reduce load on docs.rs
    DocsRsMetadataDecorator(DocsRsMetadataSettings(targets = listOf("x86_64-unknown-linux-gnu")))
    DocsRsMetadataDecorator(DocsRsMetadataSettings(targets = listOf("x86_64-unknown-linux-gnu"), allFeatures = true))
)

class AwsCodegenDecorator : CombinedCodegenDecorator(DECORATORS) {