[package]
edition = "2024"
rust-version = "1.85"
name = "ocpp_rs"
version = "0.4.2"
authors = ["Angelo L. B. Rodem"]
build = false
exclude = [
"doc_imgs/",
".*",
"docs/",
"fuzz/",
"tools/",
"doc.txt",
"example/",
"src/v21/actions.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
no_std + alloc OCPP 1.6 and 2.1 protocol library (OCPP-J parse/serialize, CallResult correlation).
"""
homepage = "https://github.com/angelorodem/ocpp-rs"
documentation = "https://docs.rs/ocpp_rs"
readme = "README.md"
keywords = [
"ocpp",
"charger",
"oca",
"electric-vehicle",
]
categories = [
"data-structures",
"algorithms",
"no-std",
"embedded",
]
license = "MIT"
repository = "https://github.com/angelorodem/ocpp-rs"
resolver = "2"
[features]
datetime_serialize_rfc3339 = []
default = []
device_model_catalog = []
schema_validate = []
[lib]
name = "ocpp_rs"
path = "src/lib.rs"
[[test]]
name = "datetime_features_tests"
path = "tests/datetime_features_tests.rs"
[[test]]
name = "device_model_catalog_tests"
path = "tests/device_model_catalog_tests.rs"
[[test]]
name = "f64_canonical_roundtrip"
path = "tests/f64_canonical_roundtrip.rs"
[[test]]
name = "fuzz_corpus_smoke"
path = "tests/fuzz_corpus_smoke.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "schema_validate_tests"
path = "tests/schema_validate_tests.rs"
[[test]]
name = "v16_exhaust_roundtrip"
path = "tests/v16_exhaust_roundtrip.rs"
[[test]]
name = "v16_pending_tests"
path = "tests/v16_pending_tests.rs"
[[test]]
name = "v16_wire_types_tests"
path = "tests/v16_wire_types_tests.rs"
[[test]]
name = "v21_exhaust_roundtrip"
path = "tests/v21_exhaust_roundtrip.rs"
[[test]]
name = "v21_integration_tests"
path = "tests/v21_integration_tests.rs"
[[test]]
name = "v21_tests"
path = "tests/v21_tests.rs"
[[test]]
name = "v21_version_tests"
path = "tests/v21_version_tests.rs"
[dependencies.chrono]
version = "^0.4"
features = [
"serde",
"alloc",
]
default-features = false
[dependencies.serde]
version = "^1"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.serde_json]
version = "^1"
features = [
"alloc",
"arbitrary_precision",
]
default-features = false
[dependencies.serde_tuple]
version = "^1"
default-features = false
[dependencies.strum]
version = "^0.28.0"
features = ["derive"]
default-features = false
[dependencies.strum_macros]
version = "^0.28.0"
default-features = false
[dev-dependencies.chrono]
version = "^0.4"
features = [
"alloc",
"serde",
]
default-features = false