codelabsab / rust-ocpp

Libraries for ocpp 1.6 and 2.0.1
https://docs.rs/rust-ocpp/latest/rust_ocpp/
Apache License 2.0
67 stars 16 forks source link

Consider putting 1.6 and 2.0 support behind feature flags #18

Closed shepmaster closed 1 year ago

shepmaster commented 1 year ago

I'm playing around a bit, but my solitary charge point only supports 1.6 so all the references to 2.0 stuff in the docs and rust-analyzer autocomplete are basically just noise to me.

Would you accept a PR putting each module behind a feature flag?

tommymalmqvist commented 1 year ago

Hello @shepmaster, yes that sounds like a good idea 👍

tommymalmqvist commented 1 year ago

I will close this issue but you are welcome to send PRs

shepmaster commented 1 year ago

Thanks for doing this! I was going to get around to it... someday... ❤️

tommymalmqvist commented 1 year ago

No problem my friend, enjoy ❤️