Skip to content

Commit ad031b8

Browse files
authored
Merge branch 'main' into patch
2 parents f4aa8a0 + c24369e commit ad031b8

File tree

65 files changed

+3850
-1137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3850
-1137
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[resolver]
2+
# https://doc.rust-lang.org/cargo/reference/config.html#resolverincompatible-rust-versions
3+
incompatible-rust-versions = "fallback"

.github/workflows/ci.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
external-types:
8686
strategy:
8787
matrix:
88-
example: [opentelemetry, opentelemetry-sdk, opentelemetry-otlp, opentelemetry-zipkin]
88+
member: [opentelemetry, opentelemetry-sdk, opentelemetry-otlp, opentelemetry-zipkin]
8989
runs-on: ubuntu-latest # TODO: Check if this could be covered for Windows. The step used currently fails on Windows.
9090
steps:
9191
- name: Harden the runner (Audit all outbound calls)
@@ -96,18 +96,20 @@ jobs:
9696
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9797
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
9898
with:
99-
toolchain: nightly-2024-06-30
99+
# Rust version should be kept in sync with the one the release was tested with
100+
# https://github.com/awslabs/cargo-check-external-types/releases
101+
toolchain: nightly-2025-05-04
100102
components: rustfmt
103+
- uses: taiki-e/install-action@33734a118689b0b418824fb78ea2bf18e970b43b # v2.50.4
104+
with:
105+
101106
- name: external-type-check
102-
run: |
103-
cargo install [email protected]
104-
cd ${{ matrix.example }}
105-
cargo check-external-types --all-features --config allowed-external-types.toml
107+
working-directory: ${{ matrix.member }}
108+
run: cargo check-external-types --all-features --config allowed-external-types.toml
106109
msrv:
107110
strategy:
108111
matrix:
109112
os: [windows-latest, ubuntu-latest]
110-
rust: [1.75.0]
111113
runs-on: ${{ matrix.os }}
112114
continue-on-error: true
113115
steps:
@@ -119,14 +121,17 @@ jobs:
119121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
120122
with:
121123
submodules: true
122-
- name: Set up Rust ${{ matrix.rust }}
123-
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
124+
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
125+
with:
126+
toolchain: stable
127+
- uses: taiki-e/install-action@33734a118689b0b418824fb78ea2bf18e970b43b # v2.50.4
128+
with:
129+
tool: cargo-msrv
130+
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
124131
with:
125-
toolchain: ${{ matrix.rust }}
126-
- name: Patch dependencies versions
127-
run: bash ./scripts/patch_dependencies.sh
132+
repo-token: ${{ secrets.GITHUB_TOKEN }}
128133
- name: Check MSRV for all crates
129-
run: bash ./scripts/msrv.sh ${{ matrix.rust }}
134+
run: bash ./scripts/msrv.sh
130135
cargo-deny:
131136
runs-on: ubuntu-latest # This uses the step `EmbarkStudios/cargo-deny-action@v1` which is only supported on Linux
132137
continue-on-error: true # Prevent sudden announcement of a new advisory from failing ci
@@ -218,11 +223,11 @@ jobs:
218223
build-examples:
219224
runs-on: ubuntu-latest
220225
steps:
221-
- uses: actions/checkout@v4
222-
- uses: dtolnay/rust-toolchain@stable
226+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
227+
- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
223228
with:
224229
components: rustfmt
225-
- uses: arduino/setup-protoc@v3
230+
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
226231
with:
227232
repo-token: ${{ secrets.GITHUB_TOKEN }}
228233
- name: Build examples

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ documentation.
3535
| Baggage | RC |
3636
| Propagators | Beta |
3737
| Logs-API | Stable* |
38-
| Logs-SDK | Stable |
38+
| Logs-SDK | Stable |
3939
| Logs-OTLP Exporter | RC |
4040
| Logs-Appender-Tracing | Stable |
4141
| Metrics-API | Stable |
42-
| Metrics-SDK | RC |
42+
| Metrics-SDK | Stable |
4343
| Metrics-OTLP Exporter | RC |
4444
| Traces-API | Beta |
4545
| Traces-SDK | Beta |

deny.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,22 @@ exceptions = [
1515
{ allow = ["Unicode-3.0"], crate = "icu_locid" }, # This crate gets used transitively by `reqwest`.
1616
{ allow = ["Unicode-3.0"], crate = "icu_locid_transform" }, # This crate gets used transitively by `reqwest`.
1717
{ allow = ["Unicode-3.0"], crate = "icu_locid_transform_data" }, # This crate gets used transitively by `reqwest`.
18+
{ allow = ["Unicode-3.0"], crate = "icu_locale_core" }, # This crate gets used transitively by `reqwest`.
1819
{ allow = ["Unicode-3.0"], crate = "icu_normalizer" }, # This crate gets used transitively by `reqwest`.
1920
{ allow = ["Unicode-3.0"], crate = "icu_normalizer_data" }, # This crate gets used transitively by `reqwest`.
2021
{ allow = ["Unicode-3.0"], crate = "icu_properties" }, # This crate gets used transitively by `reqwest`.
2122
{ allow = ["Unicode-3.0"], crate = "icu_properties_data" }, # This crate gets used transitively by `reqwest`.
2223
{ allow = ["Unicode-3.0"], crate = "icu_provider" }, # This crate gets used transitively by `reqwest`.
2324
{ allow = ["Unicode-3.0"], crate = "icu_provider_macros" }, # This crate gets used transitively by `reqwest`.
25+
{ allow = ["Unicode-3.0"], crate = "potential_utf" }, # This crate gets used transitively by `reqwest`.
2426
{ allow = ["Unicode-3.0"], crate = "litemap" }, # This crate gets used transitively by `reqwest`.
2527
{ allow = ["Unicode-3.0"], crate = "tinystr" }, # This crate gets used transitively by `reqwest`.
2628
{ allow = ["Unicode-3.0"], crate = "writeable" }, # This crate gets used transitively by `reqwest`.
2729
{ allow = ["Unicode-3.0"], crate = "unicode-ident" }, # This crate gets used transitively by `reqwest` and other crates.
2830
{ allow = ["Unicode-3.0"], crate = "yoke" }, # This crate gets used transitively by `reqwest`.
2931
{ allow = ["Unicode-3.0"], crate = "yoke-derive" }, # This crate gets used transitively by `reqwest`.
3032
{ allow = ["Unicode-3.0"], crate = "zerovec" }, # This crate gets used transitively by `reqwest`.
33+
{ allow = ["Unicode-3.0"], crate = "zerotrie" }, # This crate gets used transitively by `reqwest`.
3134
{ allow = ["Unicode-3.0"], crate = "zerovec-derive" }, # This crate gets used transitively by `reqwest`.
3235
{ allow = ["Unicode-3.0"], crate = "zerofrom" }, # This crate gets used transitively by `reqwest`.
3336
{ allow = ["Unicode-3.0"], crate = "zerofrom-derive" }, # This crate gets used transitively by `reqwest`.

0 commit comments

Comments
 (0)