keycard/lib.rs
1// SPDX-FileCopyrightText: 2026 Foundation Devices, Inc. <hello@foundation.xyz>
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4pub mod error;
5pub mod messages;
6
7#[macro_export]
8macro_rules! use_api {
9 () => {
10 mod keycard_permissions {
11 use keycard::messages::*;
12 #[derive(Clone, Default, server::Permissions)]
13 #[server_name = "os/keycard"]
14 pub struct KeycardPermissions;
15 }
16 };
17}