[package]
edition = "2024"
rust-version = "1.85"
name = "plc-comm-hostlink-rust"
version = "0.1.3"
build = false
include = [
"Cargo.toml",
"CHANGELOG.md",
"README.md",
"docs/**",
"src/**",
"examples/**",
"tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust Host Link client based on plc-comm-hostlink-dotnet"
homepage = "https://github.com/fa-yoshinobu/plc-comm-hostlink-rust"
documentation = "https://docs.rs/plc-comm-hostlink-rust"
readme = "README.md"
keywords = [
"plc",
"keyence",
"hostlink",
"async",
"tokio",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/fa-yoshinobu/plc-comm-hostlink-rust"
[features]
cli = [
"dep:futures-util",
"dep:serde_json",
"tokio/macros",
"tokio/rt-multi-thread",
]
default = []
[lib]
name = "plc_comm_hostlink"
path = "src/lib.rs"
[[bin]]
name = "hostlink_verify_client"
path = "src/bin/hostlink_verify_client.rs"
required-features = ["cli"]
[[example]]
name = "basic_high_level"
path = "examples/basic_high_level.rs"
required-features = ["cli"]
[[example]]
name = "kv_device_range_sample_compare"
path = "examples/kv_device_range_sample_compare.rs"
required-features = ["cli"]
[[test]]
name = "frame_vectors"
path = "tests/frame_vectors.rs"
[[test]]
name = "high_level"
path = "tests/high_level.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
optional = true
[dependencies.indexmap]
version = "2"
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = ["local-offset"]
[dependencies.tokio]
version = "1"
features = [
"io-util",
"net",
"rt",
"sync",
"time",
]
default-features = false
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"net",
"rt-multi-thread",
"sync",
"time",
]
default-features = false