Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able get library version 0.14.0 #393

Open
JaswanthP6878 opened this issue Oct 24, 2024 · 1 comment
Open

Not able get library version 0.14.0 #393

JaswanthP6878 opened this issue Oct 24, 2024 · 1 comment

Comments

@JaswanthP6878
Copy link

Hello all,

I am not able to install 0.14.0 to use the async tokio functionality, The toml configuration is

[package]
name = "opc-project"
version = "0.1.0"
edition = "2021"

[dependencies]
opcua = { version = "0.14", features = ["client"] }
tokio = { version = "1", features = ["full"] }

and when i run using cargo run it is showing this error,

cargo run                                                                                                    ─╯
    Updating crates.io index
error: failed to select a version for the requirement `opcua = "^0.14"`
candidate versions found which didn't match: 0.12.0, 0.11.0, 0.10.0
location searched: crates.io index
required by package `opc-project v0.1.0 (/Users/jaswanthpinnepu/Desktop/projects/opc-project)`
perhaps a crate was updated and forgotten to be re-vendored?

Could some one explain how to use the library with version 0.14.0?

@AiyionPrime
Copy link
Contributor

The latest tagged version is 0.12.0, https://github.com/locka99/opcua/tags.
You can swap the version tag for a git reference to use main (the upcoming 0.13.0):

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories

[dependencies]
opcua = { git = "https://github.com/locka99/opcua.git", features = ["client"] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants