pnio 0.1.0

PROFINET RT IO-Device stack in pure Rust (community, not affiliated with PI)
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 = "2021"
rust-version = "1.74"
name = "pnio"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PROFINET RT IO-Device stack in pure Rust (community, not affiliated with PI)"
readme = "README.md"
keywords = [
    "profinet",
    "industrial",
    "real-time",
    "ethernet",
    "plc",
]
categories = [
    "network-programming",
    "embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/core-engineering/pnio-rs"

[features]
capture = ["dep:pcap-file"]
default = ["capture"]

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

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

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

[[example]]
name = "latency_probe"
path = "examples/latency_probe.rs"
test = true

[[example]]
name = "rt_bringup"
path = "examples/rt_bringup.rs"
test = true

[[example]]
name = "typed_bringup"
path = "examples/typed_bringup.rs"
test = true

[[test]]
name = "alarm_replay"
path = "tests/alarm_replay.rs"

[[test]]
name = "ar_replay"
path = "tests/ar_replay.rs"

[[test]]
name = "capture_replay"
path = "tests/capture_replay.rs"

[[test]]
name = "dcp_replay"
path = "tests/dcp_replay.rs"

[[test]]
name = "rt_replay"
path = "tests/rt_replay.rs"

[[test]]
name = "typed_replay"
path = "tests/typed_replay.rs"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.31"
features = [
    "net",
    "socket",
    "poll",
]
default-features = false

[dependencies.pcap-file]
version = "2"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.roxmltree]
version = "0.21"