[package]
edition = "2021"
name = "sep2_common"
version = "0.2.0"
authors = ["Ethan Dickson <ethanndickson@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for building IEEE 2030.5 Clients & Servers"
readme = false
keywords = [
"energy",
"DER",
"20305",
"SEP2",
"IEEE2030",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ethanndickson/sep2_common"
[features]
all = [
"examples",
"dcap",
"edev",
"fsa",
"pubsub",
"response",
"time",
"di",
"power_status",
"network_status",
"log_events",
"configuration",
"software_download",
"drlc",
"metering",
"metering_mirror",
"pricing",
"messaging",
"billing",
"prepayment",
"flow_reservation",
"der",
"csip_aus",
]
billing = ["metering_mirror"]
configuration = []
csip_aus = [
"edev",
"der",
]
dcap = ["fsa"]
default = []
der = ["response"]
di = ["power_status"]
drlc = [
"der",
"response",
]
edev = []
examples = []
flow_reservation = ["der"]
fsa = []
log_events = []
messaging = ["response"]
metering = ["metering_mirror"]
metering_mirror = ["metering"]
network_status = []
power_status = ["der"]
prepayment = ["metering"]
pricing = ["response"]
pubsub = []
response = []
software_download = []
time = []
[lib]
name = "sep2_common"
path = "src/lib.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[dependencies.anyhow]
version = "1.0.72"
[dependencies.bitflags]
version = "2.4.0"
[dependencies.log]
version = "0.4.19"
[dependencies.rand]
version = "0.8.5"
[dependencies.sep2_common_derive]
version = "0.1.0"
[dependencies.sepserde]
version = "0.8.3"
[dependencies.xml-rs]
version = "0.8.4"
[lints.rust]
non_local_definitions = "allow"