Loading aws/rust-runtime/aws-config/additional-ci +3 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ set -e echo "### Checking for external types in public API" cargo "+${RUST_NIGHTLY_VERSION:-nightly}" api-linter --all-features --config api-linter.toml echo "### Checking for duplicate dependency versions in the normal dependency graph with all features enabled" cargo tree -d --edges normal --all-features Loading aws/rust-runtime/aws-config/api-linter.toml 0 → 100644 +25 −0 Original line number Diff line number Diff line # IMPORTANT: Types from `aws-sdk-*` crates MUST NOT be allowed to be # exposed in `aws-config`'s public API. Otherwise, `aws-config` will # require manual version bumping every time an automated version bump # to the exposed SDK crates happens. allowed_external_types = [ "aws_smithy_async::rt::sleep::AsyncSleep", "aws_smithy_client::bounds::SmithyConnector", "aws_smithy_client::erase::DynConnector", "aws_smithy_client::erase::boxclone::BoxCloneService", "aws_smithy_client::http_connector::HttpConnector", "aws_smithy_client::http_connector::HttpSettings", "aws_smithy_http::body::SdkBody", "aws_smithy_http::result::SdkError", "aws_smithy_types::retry::RetryConfig*", "aws_smithy_types::timeout::config::Config", "aws_smithy_types::timeout::error::ConfigError", "aws_types::*", "http::response::Response", "http::uri::InvalidUri", "http::uri::Uri", "hyper::client::connect::Connection", "tokio::io::async_read::AsyncRead", "tokio::io::async_write::AsyncWrite", "tower_service::Service", ] Loading
aws/rust-runtime/aws-config/additional-ci +3 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ set -e echo "### Checking for external types in public API" cargo "+${RUST_NIGHTLY_VERSION:-nightly}" api-linter --all-features --config api-linter.toml echo "### Checking for duplicate dependency versions in the normal dependency graph with all features enabled" cargo tree -d --edges normal --all-features Loading
aws/rust-runtime/aws-config/api-linter.toml 0 → 100644 +25 −0 Original line number Diff line number Diff line # IMPORTANT: Types from `aws-sdk-*` crates MUST NOT be allowed to be # exposed in `aws-config`'s public API. Otherwise, `aws-config` will # require manual version bumping every time an automated version bump # to the exposed SDK crates happens. allowed_external_types = [ "aws_smithy_async::rt::sleep::AsyncSleep", "aws_smithy_client::bounds::SmithyConnector", "aws_smithy_client::erase::DynConnector", "aws_smithy_client::erase::boxclone::BoxCloneService", "aws_smithy_client::http_connector::HttpConnector", "aws_smithy_client::http_connector::HttpSettings", "aws_smithy_http::body::SdkBody", "aws_smithy_http::result::SdkError", "aws_smithy_types::retry::RetryConfig*", "aws_smithy_types::timeout::config::Config", "aws_smithy_types::timeout::error::ConfigError", "aws_types::*", "http::response::Response", "http::uri::InvalidUri", "http::uri::Uri", "hyper::client::connect::Connection", "tokio::io::async_read::AsyncRead", "tokio::io::async_write::AsyncWrite", "tower_service::Service", ]