Added some advanced async stuff.

Really it doesn't have channels so the only advanced thing was the
dynamic trait part. Pinning the futures is only real hard part to
this module. The rest does show trait implementations on structs though
which was something missing from the library before.

Also, the project was turned into a library and the foundational
examples were put into a basic module.
This commit is contained in:
2025-06-28 16:52:04 -04:00
parent d395741822
commit 4b16a23712
5 changed files with 426 additions and 72 deletions

View File

@ -26,8 +26,8 @@ pub fn get_name() -> &'static str
}
/// Returns the name of the program as defined by the CARGO_PKG_VERSION. This is
/// set at compile time and comes from the Cargo.toml file.
/// Returns the version of the program as defined by the CARGO_PKG_VERSION.
/// This is set at compile time and comes from the Cargo.toml file.
///
/// If a value is not found, then it will return the not defined value.
pub fn get_version() -> &'static str