[package]
name = "eva-common"
version = "0.1.167"
edition = "2021"
authors = ["Sergei S. <div@altertech.com>"]
license = "Apache-2.0"
description = "Commons for EVA ICS v4"
readme = "README.md"
keywords = ["eva-ics", "iot", "industrial", "scada", "cloud"]
[package.metadata.docs.rs]
features = ["full"]
[package.metadata.playground]
features = ["full"]
[lib]
name = "eva_common"
path = "src/lib.rs"
[dependencies]
serde = { version = "1.0.143", default-features = false, features = ["derive", "std"] }
serde_repr = "0.1.7"
serde_json = "1.0.83"
ordered-float = "2.8.0"
log = "0.4.14"
ipnetwork = "0.20.0"
rust_decimal = "1.22.0"
libloading = { version = "0.7.0", optional = true }
lazy_static = { version = "1.4.0", optional = true }
elbus = { version = "0.2.20", features = ["ipc","rpc"], optional = true }
nix = { version = "0.25.0", features = ["time", "user"], optional = true }
rmp-serde = { version = "1.1.0", optional = true }
uuid = { version = "1.1.2", features = ["serde", "v4"], optional = true }
bmart = { version = "0.2.3", optional = true }
tokio = { version = "1.20.1", features = ["full"], optional = true }
async-recursion = { version = "1.0.0", optional = true }
async-channel = { version = "1.7.1", optional = true }
hex = { version = "0.4.3", optional = true }
regex = { version = "1.6.0", optional = true }
yedb = { version = "0.4.7", optional = true }
sqlx = { version = "0.5", features = [ "runtime-tokio-native-tls" , "sqlite" ], optional = true }
hyper = { version = "0.14.18", optional = true }
serde_yaml = { version = "0.9.9", optional = true }
rand = { version = "0.8.5", optional = true }
hyper-static = { version = "0.1.3", optional = true }
submap = { version = "0.2.2", optional = true }
[features]
nostd = []
acl = ["submap"]
events = []
services = ["bus-rpc", "tokio", "registry", "nix"]
actions = ["uuid"]
registry = ["elbus", "payload"]
logger = ["async-channel", "lazy_static", "elbus", "tokio"]
extended-value = ["bmart", "async-recursion", "serde_yaml", "tokio"]
time = ["nix"]
db = ["yedb", "sqlx"]
bus-rpc = ["elbus", "payload"]
workers = ["bmart", "lazy_static", "tokio"]
dataconv = ["hex", "regex", "uuid"]
cache = ["tokio", "sqlx", "payload"]
payload = [ "rmp-serde" ]
logic = []
common-payloads = ["uuid", "rand"]
hyper-tools = ["hyper", "hyper-static"]
full = ["acl", "actions", "events", "time", "bus-rpc", "services", "registry",
"workers", "dataconv", "db", "cache", "hyper-tools", "extended-value",
"common-payloads", "payload", "logic", "logger"]