open62541 0.9.0

High-level, safe bindings for the C99 library open62541, an open source and free implementation of OPC UA (OPC Unified Architecture).
Documentation
[dependencies.futures-channel]
version = "0.3.30"

[dependencies.futures-core]
default-features = false
version = "0.3.30"

[dependencies.log]
version = "0.4.20"

[dependencies.open62541-sys]
version = "0.4.16"

[dependencies.parking_lot]
version = "0.12.4"

[dependencies.paste]
version = "1.0.14"

[dependencies.serde]
optional = true
version = "1.0.194"

[dependencies.serde_json]
optional = true
version = "1.0.111"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.time]
optional = true
version = "0.3.38"

[dependencies.tokio]
features = ["rt", "sync", "time"]
optional = true
version = "1.38.2"

[dependencies.uuid]
optional = true
version = "1.16.0"

[dependencies.x509-certificate]
optional = true
version = "0.24.0"

[dependencies.zeroize]
optional = true
version = "1.8.1"

[dev-dependencies.anyhow]
version = "1.0.79"

[dev-dependencies.env_logger]
version = "0.11.1"

[dev-dependencies.futures]
version = "0.3.30"

[dev-dependencies.itertools]
version = "0.13.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.time]
features = ["macros"]
version = "0.3.38"

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.35.1"

[features]
default = ["serde", "time", "tokio", "uuid"]
mbedtls = ["dep:zeroize", "open62541-sys/mbedtls"]
serde = ["dep:serde", "dep:serde_json", "time?/formatting", "time?/serde", "uuid?/serde"]
time = ["dep:time"]
tokio = ["dep:tokio"]
uuid = ["dep:uuid"]
x509 = ["dep:x509-certificate"]

[lib]
name = "open62541"
path = "src/lib.rs"

[lints.clippy]
absolute_paths = "allow"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
as_ptr_cast_mut = "warn"
as_underscore = "warn"
cast_possible_truncation = "warn"
clone_on_ref_ptr = "warn"
default_trait_access = "warn"
enum_variant_names = "warn"
error_impl_error = "warn"
expect_used = "allow"
fallible_impl_from = "warn"
format_push_string = "warn"
get_unwrap = "warn"
index_refutable_slice = "warn"
indexing_slicing = "warn"
manual_assert = "warn"
match_on_vec_items = "warn"
match_wild_err_arm = "warn"
missing_assert_message = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "warn"
mod_module_files = "warn"
module_name_repetitions = "allow"
panic = "allow"
panic_in_result_fn = "warn"
should_panic_without_expect = "warn"
string_slice = "warn"
unimplemented = "warn"
unnecessary_self_imports = "warn"
unreachable = "allow"
unwrap_in_result = "allow"
unwrap_used = "allow"
verbose_file_reads = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "allow"
unsafe_op_in_unsafe_fn = "warn"
warnings = "warn"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.if_let_rescope]
level = "allow"
priority = 0

[lints.rust.keyword_idents]
level = "warn"
priority = -1

[lints.rust.let_underscore]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.refining_impl_trait]
level = "warn"
priority = -1

[lints.rust.rust_2018_compatibility]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1

[lints.rust.tail_expr_drop_order]
level = "allow"
priority = 0

[lints.rust.unused]
level = "warn"
priority = -1

[package]
authors = ["HMI Project"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "embedded", "api-bindings"]
description = "High-level, safe bindings for the C99 library open62541, an open source and free implementation of OPC UA (OPC Unified Architecture)."
documentation = "https://docs.rs/open62541"
edition = "2021"
homepage = "https://github.com/HMIProject/open62541"
include = ["src/", "README.md", "CHANGELOG.md"]
keywords = ["opcua", "plc", "automation", "hardware", "protocol"]
license = "MPL-2.0"
name = "open62541"
readme = "README.md"
repository = "https://github.com/HMIProject/open62541.git"
rust-version = "1.83"
version = "0.9.0"