Skip to content

Commit

Permalink
Exclude otel dependencies from powerpc target_arch
Browse files Browse the repository at this point in the history
Pin version of value-bag in otel crate

Powerpc dep updates

Pin more transitive deps
  • Loading branch information
landonxjames committed Nov 11, 2024
1 parent f3d7320 commit 148b4ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildSrc/src/main/kotlin/CrateSet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ object CrateSet {
"aws-smithy-compression",
"aws-smithy-client",
"aws-smithy-eventstream",
"aws-smithy-experimental",
"aws-smithy-http",
"aws-smithy-http-auth",
"aws-smithy-http-tower",
"aws-smithy-json",
"aws-smithy-mocks-experimental",
"aws-smithy-experimental",
"aws-smithy-observability",
"aws-smithy-observability-otel",
"aws-smithy-protocol-test",
"aws-smithy-query",
"aws-smithy-runtime",
Expand Down
8 changes: 8 additions & 0 deletions rust-runtime/aws-smithy-observability-otel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ repository = "https://github.com/awslabs/smithy-rs"
[dependencies]
aws-smithy-observability = { path = "../aws-smithy-observability" }
opentelemetry = {version = "0.26.0", features = ["metrics"]}
# The below dependencies are transitive, but must be pinned until we can generate a new lockfile
# lockfile generation currently blocked by aws-lc-sys build issue
value-bag = "1.10.0"
async-global-executor = "2.4.1"
async-task = "=4.7.1"

# This crate cannot beused on powerpc
[target.'cfg(not(target_arch = "powerpc"))'.dependencies]
opentelemetry_sdk = {version = "0.26.0", features = ["metrics", "testing"]}

[dev-dependencies]
Expand Down

0 comments on commit 148b4ae

Please sign in to comment.