# 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 = "2018"
name = "plctag-core"
version = "0.1.0"
authors = ["joylei <leingliu@gmail.com>"]
description = "a rust wrapper of [libplctag](https://github.com/libplctag/libplctag), with rust style APIs and useful extensions"
homepage = "https://github.com/Joylei/plctag-rs"
documentation = "https://docs.rs/crate/plctag/"
readme = "README.md"
keywords = ["automation", "plc", "ethernet", "modbus", "hardware"]
categories = ["api-bindings", "hardware-support"]
license = "MIT"
repository = "https://github.com/Joylei/plctag-rs.git"
[dependencies.dyn-clone]
version = "1"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1"
optional = true

[dependencies.parking_lot]
version = "0.11"
optional = true

[dependencies.paste]
version = "1"
optional = true

[dependencies.plctag-sys]
version = "0.1"

[features]
api_raw_bytes = []
api_string = []
default = ["value", "event", "api_string", "api_raw_bytes"]
event = ["parking_lot", "once_cell", "dyn-clone"]
value = ["paste"]
