Skip to main content

rsphp_build_tools/
lib.rs

1//! This crate holds various tools for building up the `rsphp-sys` crate, so
2//! that they can be reused when overriding that crate on a per-project basis.
3
4/// Module for the `AnonymousTypeNames` callbacks.
5mod anonymous_type_names;
6pub use anonymous_type_names::AnonymousTypeNames;
7
8/// Module for the `BuildIdCallbacks` callbacks.
9mod build_id;
10pub use build_id::BuildIdCallbacks;
11
12/// Module for the `CommentProcessor` callbacks.
13///
14/// Only needed if you want to have rustdoc run on the generated bindings and
15/// not have any complaints.
16mod comment_processor;
17pub use comment_processor::CommentProcessor;
18
19/// Module for the `ZendHeaderIterator` utility.
20mod headers;
21pub use headers::ZendHeaderIterator;
22
23/// Module for the `IntTypeCastCallbacks` callbacks.
24mod int_casts;
25pub use int_casts::IntTypeCastCallbacks;
26
27/// Module for the `ExplicitIntTypesCallbacks` callbacks.
28mod int_types;
29pub use int_types::ExplicitIntTypesCallbacks;
30
31/// Module for the `PhpConfigRunner` utility.
32mod php_config_runner;
33pub use php_config_runner::PhpConfigRunner;