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§
- cache
- The cache used assemble wise. This is accessible from every project, and should be used with care
- cargo
- Provides a wrapper around cargo environment variables set during compilation.
- cryptography
- Cryptography functionality to aid with hashing and comparison
- defaults
- dependencies
- Additional dependency types
- error
- An error with a payload
- exception
- Build time exceptions
- extensions
- Extensions to various parts of the assemble-daemon-core
- file
- file_
collection - fingerprint
- Provides ways to “fingerprint” something
- flow
- Control the in and out flow of a project
- identifier
- Identifiers are used by lazy_evaluation, tasks, and projects.
- immutable
- Mark a type as immutable.
- lazy_
evaluation - Lazy evaluation allows for a more simple approach to sharing data between tasks.
- logging
- Defines different parts of the logging utilities for assemble-daemon
- named
- plugins
- Provide a “unified” way of adding plugins to an assemble project
- prelude
- Provides many useful, often use types and functions within assemble
- project
- resources
- specs
- The standard specs that are used by the standard library
- startup
- The startup part of assemble.
- task
- tasks
- The standard library tasks. Defines important tasks like
Exec
andDupe
- utilities
- version
- Provide version information about assemble, generated at compile time.
- web
- Control web requests
- work_
queue - The work queue allows for submission and completion of work.
- workflow
- workspace
- Workspaces help provide limited access to files
Macros§
- named_
attribute - payload_
from - provider
- create a provider with a function
Structs§
- Empty
- A task that has no actions by default.
- Executable
- The wrapped task itself
- Plugin
- The default plugin for the std library. Is a no-op.
- Project
- The Project contains the tasks, layout information, and other related objects that would help with project building.
- Workspace
Statics§
- ASSEMBLE_
HOME - Provides access to the instance of the Assemble home workspace
Traits§
Functions§
- execute_
assemble - 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 Aliases§
Attribute Macros§
Derive Macros§
- Create
Task - Creates tasks using default values. Also creates lazy_evaluation using the name of the field
- TaskIO
- Enables shortcuts for adding inputs and outputs for tasks