[workspace]
members = ["matter", "matter_macro_derive"]

exclude = ["examples/*"]

# For compatibility with ESP IDF
[patch.crates-io]
smol = { git = "https://github.com/esp-rs-compat/smol" }
polling = { git = "https://github.com/esp-rs-compat/polling" }
socket2 = { git = "https://github.com/esp-rs-compat/socket2" }

[profile.release]
opt-level = 3

[profile.dev]
debug = true
opt-level = 3