Skip to main content

rs_matter/dm/
clusters.rs

1/*
2 *
3 *    Copyright (c) 2025-2026 Project CHIP Authors
4 *
5 *    Licensed under the Apache License, Version 2.0 (the "License");
6 *    you may not use this file except in compliance with the License.
7 *    You may obtain a copy of the License at
8 *
9 *        http://www.apache.org/licenses/LICENSE-2.0
10 *
11 *    Unless required by applicable law or agreed to in writing, software
12 *    distributed under the License is distributed on an "AS IS" BASIS,
13 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 *    See the License for the specific language governing permissions and
15 *    limitations under the License.
16 */
17
18//! This module imports all system clusters that are used by the `rs-matter` itself.
19//!
20//! Application-level clusters (OnOff, LevelControl, the camera / streaming
21//! clusters, etc.) live under [`app`] and have to be opted into by the
22//! application as needed.
23
24pub mod acl;
25pub mod adm_comm;
26pub mod app;
27pub mod basic_info;
28pub mod binding;
29pub mod desc;
30pub mod dev_att;
31pub mod diag_logs;
32pub mod eth_diag;
33pub mod fixed_label;
34pub mod gen_comm;
35pub mod gen_diag;
36#[cfg(feature = "groups")]
37pub mod groupcast;
38#[cfg(feature = "groups")]
39pub mod groups;
40pub mod grp_key_mgmt;
41pub mod icd_mgmt;
42pub mod identify;
43pub mod net_comm;
44pub mod noc;
45pub mod ota_prov;
46pub mod ota_req;
47pub mod power_source;
48pub mod scenes;
49pub mod sw_diag;
50pub mod thread_diag;
51pub mod time_sync;
52pub mod unit_testing;
53pub mod user_label;
54pub mod wifi_diag;
55
56/// Generated cluster declarations from Matter IDL (via build.rs).
57#[allow(
58    clippy::all,
59    dead_code,
60    unused_variables,
61    unused_mut,
62    unreachable_patterns,
63    noop_method_call,
64    mismatched_lifetime_syntaxes
65)]
66pub mod decl {
67    include!(concat!(env!("OUT_DIR"), "/clusters_generated.rs"));
68}