sails_macros_core/
lib.rs

1// This file is part of Gear.
2
3// Copyright (C) 2021-2023 Gear Technologies Inc.
4// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
5
6// This program is free software: you can redistribute it and/or modify
7// it under the terms of the GNU General Public License as published by
8// the Free Software Foundation, either version 3 of the License, or
9// (at your option) any later version.
10
11// This program is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15
16// You should have received a copy of the GNU General Public License
17// along with this program. If not, see <https://www.gnu.org/licenses/>.
18
19//! Implementation of the procedural macros exposed via the `sails-macros` crate.
20
21pub use event::{derive_sails_event, event};
22pub use export::export;
23pub use program::{__gprogram_internal, gprogram};
24pub use service::{__gservice_internal, gservice};
25
26mod event;
27mod export;
28mod program;
29mod sails_paths;
30mod service;
31mod shared;