# 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 = "2021"
name = "nican"
version = "0.4.1"
authors = ["Jesse Smith <jesses2025smith@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Nican driver."
homepage = "https://github.com/jesses2025smith/rust-can/tree/master/nican"
readme = "README.md"
license = "MIT OR GPL-3.0"
repository = "https://github.com/jesses2025smith/rust-can"

[lib]
name = "nican_rs"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.log]
version = "0.4"

[dependencies.rs-can]
version = "0.4.1"

[dependencies.rsutil]
version = "0.1"
features = ["log"]

[dependencies.windows]
version = "0.62"
features = ["Win32_System_LibraryLoader"]

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

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