[package]
edition = "2021"
rust-version = "1.80"
name = "oi4-dnp-encoding"
version = "0.1.0"
authors = ["OI4 Contributors"]
build = false
exclude = [
"fuzz",
"tools",
".github",
"target",
"dnp-encoder-rust.iml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OI4 / DIN SPEC 91406 Digital Nameplate (DNP) encoding/decoding/validation in Rust"
homepage = "https://github.com/OI4/dnp-encoder-rust"
documentation = "https://docs.rs/oi4-dnp-encoding"
readme = "README.md"
keywords = [
"oi4",
"dnp",
"encoding",
"oec",
]
categories = [
"encoding",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/OI4/dnp-encoder-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
default = ["std"]
std = ["alloc"]
strict = []
[lib]
name = "oi4_dnp_encoding"
crate-type = ["rlib"]
path = "src/lib.rs"
[[bin]]
name = "oi4-dnp-encoding-cli"
path = "src/main.rs"
required-features = ["std"]
[[example]]
name = "all_in_one"
path = "examples/all_in_one.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "encode_into_no_alloc"
path = "examples/encode_into_no_alloc.rs"
[[example]]
name = "strict"
path = "examples/strict.rs"
[[example]]
name = "validation"
path = "examples/validation.rs"
[[test]]
name = "test_cli"
path = "tests/test_cli.rs"
[[test]]
name = "test_decode"
path = "tests/test_decode.rs"
[[test]]
name = "test_encode"
path = "tests/test_encode.rs"
[[test]]
name = "test_error"
path = "tests/test_error.rs"
[[test]]
name = "test_validate"
path = "tests/test_validate.rs"
[[bench]]
name = "encode_decode"
path = "benches/encode_decode.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.7.0"
default-features = false
[dev-dependencies.proptest]
version = "1.4"
[build-dependencies]