🚧 Code tweak
This commit is contained in:
parent
13bbf49131
commit
2b229573cd
2 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@
|
||||||
//! ```
|
//! ```
|
||||||
//! This program implements a package named `HelloWorld` with one service that returns a web page
|
//! This program implements a package named `HelloWorld` with one service that returns a web page
|
||||||
//! that greets the world whenever it is accessed from the browser at `http://localhost:8088` (using
|
//! that greets the world whenever it is accessed from the browser at `http://localhost:8088` (using
|
||||||
//! the [default configuration settings](`config::Server`)). You can find this code in the `PageTop`
|
//! the [default configuration settings](`global::Server`)). You can find this code in the `PageTop`
|
||||||
//! [examples repository](https://github.com/manuelcillero/pagetop/tree/latest/examples).
|
//! [examples repository](https://github.com/manuelcillero/pagetop/tree/latest/examples).
|
||||||
//!
|
//!
|
||||||
//! # 🧩 Dependency Management
|
//! # 🧩 Dependency Management
|
||||||
|
|
@ -79,9 +79,9 @@ pub use concat_string::concat_string;
|
||||||
/// Enables flexible identifier concatenation in macros, allowing new items with pasted identifiers.
|
/// Enables flexible identifier concatenation in macros, allowing new items with pasted identifiers.
|
||||||
pub use paste::paste;
|
pub use paste::paste;
|
||||||
|
|
||||||
pub use pagetop_macros::{fn_builder, main, test, AutoDefault, ComponentClasses};
|
pub use pagetop_macros::{fn_builder, html, main, test, AutoDefault, ComponentClasses};
|
||||||
|
|
||||||
pub type HashMapResources = std::collections::HashMap<&'static str, static_files::Resource>;
|
pub type StaticResources = std::collections::HashMap<&'static str, static_files::Resource>;
|
||||||
|
|
||||||
pub use std::any::TypeId;
|
pub use std::any::TypeId;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pub use crate::{concat_string, fn_builder, html, main, paste, test};
|
pub use crate::{concat_string, fn_builder, html, main, paste, test};
|
||||||
|
|
||||||
pub use crate::{AutoDefault, ComponentClasses, HashMapResources, TypeId, Weight};
|
pub use crate::{AutoDefault, ComponentClasses, StaticResources, TypeId, Weight};
|
||||||
|
|
||||||
// MACROS.
|
// MACROS.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue