Repository: ALU-Schumacher/AUDITOR (language: rust)

Issue:
RUSTSEC-2024-0387: `opentelemetry_api` has been merged into the `opentelemetry` crate

> `opentelemetry_api` has been merged into the `opentelemetry` crate

| Details             |                                                |
| ------------------- | ---------------------------------------------- |
| Status              | unmaintained                |
| Package             | `opentelemetry_api`                      |
| Version             | `0.20.0`                   |
| URL                 | [https://github.com/open-telemetry/opentelemetry-rust/pull/1226](https://github.com/open-telemetry/opentelemetry-rust/pull/1226) |
| Date                | 2024-07-03                         |

Last release was on 2023-07-30.
`opentelemetry_api` has been moved into the [`opentelemetry` crate](https://crates.io/crates/opentelemetry).

Please use the `opentelemetry` crate going forward.

See [advisory page](https://rustsec.org/advisories/RUSTSEC-2024-0387.html) for additional details.



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1fd2ab9a5..63880a16b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - Apel plugin: Update timestamp JSON atomically ([@maxfischer2781](https://github.com/maxfischer2781))
 
 ### Removed
+- Dependencies: Remove opentelemetry_api (replaced by opentelemetry) ([@dirksammel](https://github.com/dirksammel))
 
 ## [0.6.3] - 2024-10-30
 
diff --git a/Cargo.toml b/Cargo.toml
index 20f06b03a..28a948228 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,6 @@ num-traits = "0.2.19"
 once_cell = "1.19.0"
 opentelemetry = "0.23.0"
 opentelemetry-prometheus = "0.16.0"
-opentelemetry_api = "0.20.0"
 opentelemetry_sdk = "0.23.0"
 prometheus = "0.13.4"
 pyo3 = { version = "0.20.3", features = ["chrono", "extension-module", "anyhow"] }
diff --git a/auditor/Cargo.toml b/auditor/Cargo.toml
index b5e67081d..a6ff54ecd 100644
--- a/auditor/Cargo.toml
+++ b/auditor/Cargo.toml
@@ -45,7 +45,6 @@ itertools.workspace = true
 num-traits.workspace = true
 opentelemetry-prometheus.workspace = true
 opentelemetry.workspace = true
-opentelemetry_api.workspace = true
 opentelemetry_sdk.workspace = true
 prometheus.workspace = true
 rand.workspace = true
diff --git a/plugins/priority/Cargo.toml b/plugins/priority/Cargo.toml
index 24e9aa089..11aa45955 100644
--- a/plugins/priority/Cargo.toml
+++ b/plugins/priority/Cargo.toml
@@ -40,7 +40,6 @@ config.workspace = true
 num-traits.workspace = true
 opentelemetry-prometheus.workspace = true
 opentelemetry.workspace = true
-opentelemetry_api.workspace = true
 opentelemetry_sdk.workspace = true
 prometheus.workspace = true
 serde-aux.workspace = true


Test patch: