# 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"
rust-version = "1.70.0"
name = "darra-ethercat-master"
version = "1.99.7"
authors = ["Darra Technology <dev@darra.xyz>"]
build = "build.rs"
exclude = [
    "examples/",
    "tests/",
    ".cargo/",
    "**/*.dll",
    "**/*.pdb",
    "**/*.so",
    "**/*.dylib",
    "**/Darra.Core.*",
    "**/VMProtectSDK*.*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "商业 EtherCAT 主站协议栈 · 实时内核驱动 · 抖动 1µs · Windows + Linux · 多编程语言 · 全协议 · 支持复杂拓扑 + 热插拔 · ethercat.darra.xyz · Commercial EtherCAT Master protocol stack · Real-time kernel driver · 1µs jitter · Multi-platform · Multi-language · Complex topology + hot-plug."
homepage = "https://ethercat.darra.xyz"
documentation = "https://ethercat.darra.xyz/docs/sdk/rust"
readme = "README.md"
keywords = [
    "ethercat",
    "industrial",
    "real-time",
    "fieldbus",
    "darrart",
]
categories = [
    "hardware-support",
    "api-bindings",
    "embedded",
]
license = "LicenseRef-Proprietary"
repository = "https://ethercat.darra.xyz"

[features]
async-tokio = ["dep:tokio"]
default = []
redundancy = []
udp = []
wdk = []

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

[dependencies.encoding_rs]
version = "0.8"

[dependencies.libloading]
version = "0.8"

[dependencies.obfstr]
version = "0.4"

[dependencies.quick-xml]
version = "0.36"
features = ["serialize"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
]
optional = true

[build-dependencies]

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

[profile.release-debug]
debug = 2
inherits = "release"
strip = false
