From 2a08f0b90d4ca0237c2fda7fd09130dff65ddd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Sat, 27 Dec 2025 06:36:07 -0800 Subject: [PATCH] Remove 'load-dynamic' feature of 'ort' dependency It's unclear why we'd want this feature. It seems to make things even less isolated and self-contained than it already is, which certainly isn't a boon for an example. --- examples/rust-example/Cargo.lock | 13 +------------ examples/rust-example/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/examples/rust-example/Cargo.lock b/examples/rust-example/Cargo.lock index 6619841..3c41c04 100644 --- a/examples/rust-example/Cargo.lock +++ b/examples/rust-example/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "adler" @@ -206,16 +206,6 @@ version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" -[[package]] -name = "libloading" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" -dependencies = [ - "cfg-if", - "windows-targets", -] - [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -301,7 +291,6 @@ checksum = "0bc80894094c6a875bfac64415ed456fa661081a278a035e22be661305c87e14" dependencies = [ "half", "js-sys", - "libloading", "ndarray", "ort-sys", "thiserror", diff --git a/examples/rust-example/Cargo.toml b/examples/rust-example/Cargo.toml index d3e72a3..c3d9797 100644 --- a/examples/rust-example/Cargo.toml +++ b/examples/rust-example/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2021" [dependencies] -ort = { version = "2.0.0-rc.2", features = ["load-dynamic", "ndarray"] } +ort = { version = "2.0.0-rc.2", features = ["ndarray"] } ndarray = "0.15" hound = "3"