project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
326 stars 45 forks source link

Remove the need to specify IDL env var location #121

Closed ivmarkov closed 9 months ago

ivmarkov commented 9 months ago

This PR removes the need for the RS_MATTER_IDL_DIR environment variable that points to the location of the Matter Clusters' IDL file.

The inconvenience of this environment variable should not be underestimated:

The PR completely bypasses all of this by

ivmarkov commented 9 months ago

@andy31415 @kedars ^^^

ivmarkov commented 9 months ago

@ivmarkov should we add a separate issue to support custom clusters?

Right now our macros will include all CSA-spec defined clusters (and a unit-testing one) however custom app clusters would need a different IDL.

Low priority since anyone can use the example in rs-matter-macros to create their own macro.

Yes, let's at least have an issue for that.