[[bench]]
harness = false
name = "bench_sync"
[[bench]]
harness = false
name = "bench_async"
[[bench]]
harness = false
name = "bench_async_batch"
[dependencies.plctag-async]
optional = true
version = "0.2"
[dependencies.plctag-core]
version = "0.2"
[dependencies.plctag-derive]
optional = true
version = "0.2"
[dependencies.plctag-log]
optional = true
version = "0.2"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.criterion]
features = ["async_futures", "async_tokio", "cargo_bench_support"]
version = "0.3"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
[features]
async = ["plctag-async"]
default = ["full"]
derive = ["plctag-derive"]
full = ["derive", "async", "log"]
log = ["plctag-log"]
[lib]
name = "plctag"
path = "src/lib.rs"
[package]
authors = ["joylei <leingliu@gmail.com>"]
categories = ["api-bindings", "asynchronous", "hardware-support"]
description = "a rust wrapper of [libplctag](https://github.com/libplctag/libplctag), with rust style APIs and useful extensions"
documentation = "https://docs.rs/crate/plctag/"
edition = "2018"
homepage = "https://github.com/Joylei/plctag-rs"
keywords = ["automation", "plc", "ethernet", "modbus", "hardware"]
license = "MIT"
name = "plctag"
readme = "README.md"
repository = "https://github.com/Joylei/plctag-rs.git"
version = "0.2.1"
[package.metadata.docs.rs]
all-features = true
[profile.test]
debug = 1