phper/
lib.rs

1// Copyright (c) 2022 PHPER Framework Team
2// PHPER is licensed under Mulan PSL v2.
3// You can use this software according to the terms and conditions of the Mulan
4// PSL v2. You may obtain a copy of Mulan PSL v2 at:
5//          http://license.coscl.org.cn/MulanPSL2
6// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
7// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
8// NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
9// See the Mulan PSL v2 for more details.
10
11#![warn(rust_2018_idioms, missing_docs)]
12#![warn(clippy::dbg_macro, clippy::print_stdout)]
13#![doc = include_str!("../README.md")]
14
15#[macro_use]
16mod macros;
17
18pub mod arrays;
19pub mod classes;
20pub(crate) mod constants;
21pub mod errors;
22pub mod functions;
23pub mod ini;
24pub mod modules;
25pub mod objects;
26pub mod output;
27pub mod references;
28pub mod resources;
29pub mod strings;
30pub mod types;
31mod utils;
32pub mod values;
33
34pub use crate::errors::{Error, Result, ok};
35pub use phper_alloc as alloc;
36pub use phper_macros::*;
37pub use phper_sys as sys;