Crate assemble_std

source ·
Expand description

The Assemble Standard Library

Contains extra stuff for assemble-daemon-rs that don’t need to be in the core crate, but provide good content.

Re-exports

pub use crate::extensions::project_extensions::ProjectExec;
pub use crate::tasks::exec::Exec;
pub use crate::tasks::files::Delete;
pub use crate::tasks::files::Dupe;

Modules

The cache used assemble wise. This is accessible from every project, and should be used with care
Provides a wrapper around cargo environment variables set during compilation.
Cryptography functionality to aid with hashing and comparison
Additional dependency types
An error with a payload
Build time exceptions
Extensions to various parts of the assemble-daemon-core
Provides ways to “fingerprint” something
Control the in and out flow of a project
Identifiers are used by lazy_evaluation, tasks, and projects.
Mark a type as immutable.
Lazy evaluation allows for a more simple approach to sharing data between tasks.
Defines different parts of the logging utilities for assemble-daemon
Provide a “unified” way of adding plugins to an assemble project
Provides many useful, often use types and functions within assemble
The standard specs that are used by the standard library
The startup part of assemble.
The standard library tasks. Defines important tasks like Exec and Dupe
Provide version information about assemble, generated at compile time.
Control web requests
The work queue allows for submission and completion of work.
Workspaces help provide limited access to files

Macros

create a provider with a function

Structs

A task that has no actions by default.
The wrapped task itself
The default plugin for the std library. Is a no-op.
The Project contains the tasks, layout information, and other related objects that would help with project building.

Statics

Provides access to the instance of the Assemble home workspace

Traits

A plugin to apply to the project. All plugins must implement default.

Functions

Executes some function. If an error is returned by the function, then None is returned and the error is printed to the error output. Otherwise, Some(R) is returned.

Type Definitions

Attribute Macros

Derive Macros

Creates tasks using default values. Also creates lazy_evaluation using the name of the field
Enables shortcuts for adding inputs and outputs for tasks