[package]
edition = "2021"
rust-version = "1.81"
name = "can-hal-socketcan"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SocketCAN backend for can-hal-rs traits (Linux)"
readme = "README.md"
keywords = [
"can",
"can-bus",
"socketcan",
"canfd",
"linux",
]
categories = [
"hardware-support",
"os::linux-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/can-hal-rs-contributors/can-hal-rs"
[lib]
name = "can_hal_socketcan"
path = "src/lib.rs"
[dependencies.can-hal]
version = "0.4.1"
package = "can-hal-rs"
[dependencies.socketcan]
version = "3.5"
[lints.clippy]
debug_assert_with_mut_call = "warn"
default_trait_access = "allow"
derive_partial_eq_without_eq = "warn"
doc_markdown = "allow"
enum_glob_use = "allow"
if_not_else = "allow"
items_after_statements = "allow"
large_stack_frames = "warn"
let_underscore_must_use = "warn"
manual_assert = "allow"
many_single_char_names = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_unsafe_ops_per_block = "warn"
needless_pass_by_ref_mut = "warn"
negative_feature_names = "warn"
option_if_let_else = "warn"
or_fun_call = "warn"
panic_in_result_fn = "warn"
redundant_feature_names = "warn"
redundant_pub_crate = "warn"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
undocumented_unsafe_blocks = "warn"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
use_self = "warn"
used_underscore_binding = "allow"
verbose_bit_mask = "allow"
wildcard_dependencies = "warn"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1