[package]
edition = "2024"
rust-version = "1.85"
name = "open62541-sys"
version = "0.5.4"
authors = ["HMI Project"]
build = "build.rs"
include = [
"CHANGELOG.md",
"README.md",
"LICENSES/MPL-2.0.txt",
"build.rs",
"src/",
"wrapper.c",
"wrapper.h",
"mbedtls/**/CMakeLists.txt",
"mbedtls/3rdparty/everest/",
"mbedtls/3rdparty/p256-m/",
"mbedtls/cmake/",
"mbedtls/include/",
"mbedtls/library/",
"mbedtls/pkgconfig/",
"mbedtls/scripts/config.py",
"open62541/**/CMakeLists.txt",
"open62541/arch/",
"open62541/deps/",
"!open62541/deps/mdnsd/",
"!open62541/deps/mqtt-c/",
"!open62541/deps/nodesetLoader/",
"!open62541/deps/ua-nodeset/",
"open62541/deps/ua-nodeset/readme.md",
"open62541/doc/conf.py",
"open62541/include/open62541/",
"open62541/plugins/",
"open62541/tools/certs/",
"open62541/tools/cmake/",
"open62541/tools/generate_*.py",
"open62541/tools/nodeset_compiler/",
"open62541/tools/open62541.pc.in",
"open62541/tools/schema/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level, unsafe bindings for the C99 library open62541, an open source and free implementation of OPC UA (OPC Unified Architecture)."
homepage = "https://github.com/HMIProject/open62541-sys"
documentation = "https://docs.rs/open62541-sys"
readme = "README.md"
keywords = [
"opcua",
"plc",
"automation",
"hardware",
"protocol",
]
categories = [
"network-programming",
"embedded",
"external-ffi-bindings",
]
license = "MPL-2.0"
repository = "https://github.com/HMIProject/open62541-sys.git"
[features]
default = []
mbedtls = []
[lib]
name = "open62541_sys"
path = "src/lib.rs"
[build-dependencies.bindgen]
version = "0.72.1"
[build-dependencies.cc]
version = "1.2.56"
[build-dependencies.cmake]
version = "0.1.57"
[build-dependencies.version_check]
version = "0.9.5"
[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"
fallible_impl_from = "warn"
format_push_string = "warn"
get_unwrap = "warn"
index_refutable_slice = "warn"
indexing_slicing = "warn"
manual_assert = "warn"
match_wild_err_arm = "warn"
missing_assert_message = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "warn"
mod_module_files = "warn"
module_name_repetitions = "warn"
ok_expect = "allow"
panic = "warn"
panic_in_result_fn = "warn"
should_panic_without_expect = "warn"
string_slice = "warn"
unimplemented = "warn"
unnecessary_self_imports = "warn"
unreachable = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
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.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.unused]
level = "warn"
priority = -1