j1939 0.2.2

SAE J1939 is a set of standards that define how ECUs communicate via the CAN bus in heavy-duty vehicles.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "j1939"
version = "0.2.2"
authors = ["Yorick de Wid <ydewid@gmail.com>"]
build = false
include = [
    "src/**/*",
    "examples/**/*",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
SAE J1939 is a set of standards that define how ECUs communicate via the CAN bus in heavy-duty vehicles.
"""
readme = "README.md"
keywords = [
    "can",
    "j1939",
    "sae-j1939",
    "automotive",
    "industrial",
]
categories = [
    "no-std",
    "embedded",
    "parsing",
    "network-programming",
]
license = "GPL-3.0-only"
repository = "https://github.com/yorickdewid/J1939"

[features]
alloc = []
default = ["chrono"]
std = []

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

[[example]]
name = "j1939decode"
path = "examples/j1939decode.rs"

[dependencies.chrono]
version = "0.4"
optional = true
default-features = false

[lints.clippy]
pedantic = "warn"
unwrap_used = "warn"

[lints.rust]
trivial_casts = "warn"
unsafe_code = "deny"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[profile.release]
opt-level = "s"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true