Expand description
just
is primarily used as a command-line binary, but does provide a
limited public library interface.
Please keep in mind that there are no semantic version guarantees for the library interface. It may break or change at any time.
Re-exportsĀ§
pub use crate::alias::Alias;
pub use crate::analyzer::Analyzer;
pub use crate::argument_parser::ArgumentParser;
pub use crate::assignment::Assignment;
pub use crate::assignment_resolver::AssignmentResolver;
pub use crate::ast::Ast;
pub use crate::attribute::Attribute;
pub use crate::binding::Binding;
pub use crate::color::Color;
pub use crate::color_display::ColorDisplay;
pub use crate::command_color::CommandColor;
pub use crate::command_ext::CommandExt;
pub use crate::compilation::Compilation;
pub use crate::compile_error::CompileError;
pub use crate::compile_error_kind::CompileErrorKind;
pub use crate::compiler::Compiler;
pub use crate::condition::Condition;
pub use crate::conditional_operator::ConditionalOperator;
pub use crate::config::Config;
pub use crate::config_error::ConfigError;
pub use crate::constants::constants;
pub use crate::count::Count;
pub use crate::delimiter::Delimiter;
pub use crate::dependency::Dependency;
pub use crate::dump_format::DumpFormat;
pub use crate::enclosure::Enclosure;
pub use crate::error::Error;
pub use crate::evaluator::Evaluator;
pub use crate::execution_context::ExecutionContext;
pub use crate::executor::Executor;
pub use crate::expression::Expression;
pub use crate::fragment::Fragment;
pub use crate::function::Function;
pub use crate::interpreter::Interpreter;
pub use crate::interrupt_guard::InterruptGuard;
pub use crate::interrupt_handler::InterruptHandler;
pub use crate::item::Item;
pub use crate::justfile::Justfile;
pub use crate::keyed::Keyed;
pub use crate::keyword::Keyword;
pub use crate::lexer::Lexer;
pub use crate::line::Line;
pub use crate::list::List;
pub use crate::load_dotenv::load_dotenv;
pub use crate::loader::Loader;
pub use crate::module_path::ModulePath;
pub use crate::name::Name;
pub use crate::namepath::Namepath;
pub use crate::ordinal::Ordinal;
pub use crate::output::output;
pub use crate::output_error::OutputError;
pub use crate::parameter::Parameter;
pub use crate::parameter_kind::ParameterKind;
pub use crate::parser::Parser;
pub use crate::platform::Platform;
pub use crate::platform_interface::PlatformInterface;
pub use crate::position::Position;
pub use crate::positional::Positional;
pub use crate::ran::Ran;
pub use crate::range_ext::RangeExt;
pub use crate::recipe::Recipe;
pub use crate::recipe_resolver::RecipeResolver;
pub use crate::recipe_signature::RecipeSignature;
pub use crate::scope::Scope;
pub use crate::search::Search;
pub use crate::search_config::SearchConfig;
pub use crate::search_error::SearchError;
pub use crate::set::Set;
pub use crate::setting::Setting;
pub use crate::settings::Settings;
pub use crate::shebang::Shebang;
pub use crate::show_whitespace::ShowWhitespace;
pub use crate::source::Source;
pub use crate::string_delimiter::StringDelimiter;
pub use crate::string_kind::StringKind;
pub use crate::string_literal::StringLiteral;
pub use crate::subcommand::Subcommand;
pub use crate::suggestion::Suggestion;
pub use crate::table::Table;
pub use crate::thunk::Thunk;
pub use crate::token::Token;
pub use crate::token_kind::TokenKind;
pub use crate::unresolved_dependency::UnresolvedDependency;
pub use crate::unresolved_recipe::UnresolvedRecipe;
pub use crate::unstable_feature::UnstableFeature;
pub use crate::use_color::UseColor;
pub use crate::variables::Variables;
pub use crate::verbosity::Verbosity;
pub use crate::warning::Warning;
pub use crate::run::run;
ModulesĀ§
- Utilities for comparing and ordering values.
- Inspection and manipulation of the processās environment.
- Utilities for formatting and printing
String
s. - Filesystem manipulation operations.
- Traits, helpers, and type definitions for core I/O functionality.
- Composable external iteration.
- Basic functions for dealing with memory.
- Cross-platform path manipulation.
- A module for working with processes.
- Utilities for the
str
primitive type. - A contiguous growable array type with heap-allocated contents, written
Vec<T>
.
MacrosĀ§
- Inspects an environment variable at compile time.
- Creates a
Vec
containing the arguments.
StructsĀ§
- An arena of objects of type
T
. - An ordered map based on a B-Tree.
- An ordered set based on a B-Tree.
- An iterator over the
char
s of a string slice. - A process builder, providing fine-grained control over how a new process should be spawned.
- Describes the result of a process after it has terminated.
- Configuration for formatting.
- A hash map implemented with quadratic probing and SIMD lookup.
- A value which is initialized on the first access.
- A mutual exclusion primitive useful for protecting shared data
- An RAII implementation of a āscoped lockā of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
- A synchronization primitive which can nominally be written to only once.
- A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.
- A slice of a path (akin to
str
). - An owned, mutable path (akin to
String
). - A (half-open) range bounded inclusively below and exclusively above (
start..end
). - A range bounded inclusively below and above (
start..=end
). - A single-threaded reference-counting pointer. āRcā stands for āReference Countedā.
- A compiled regular expression for searching Unicode haystacks.
- A slice of a UTF-8 path (akin to
str
).
EnumsĀ§
- A clone-on-write smart pointer.
ConstantsĀ§
TraitsĀ§
?
formatting.- Used for immutable dereferencing operations, like
*v
. - Format trait for an empty format,
{}
. - Conversion from an
Iterator
. - Used for indexing operations (
container[index]
) in immutable contexts. - The
Read
trait allows for reading bytes from a source. - Additions to
Result
. - The
Seek
trait provides a cursor which can be moved within a stream of bytes. - A data structure that can be serialized into any data format supported by Serde.
- Returned from
Serializer::serialize_map
. - Returned from
Serializer::serialize_seq
. - A data format that can serialize any data structure supported by Serde.
- Methods for determining displayed width of Unicode characters.
- Methods for determining displayed width of Unicode strings.
- Parse arguments into enums.
- A trait for objects which are byte-oriented sinks.
FunctionsĀ§
- Returns the edit distance between strings
a
andb
. - Create a new temporary file.
Type AliasesĀ§
Attribute MacrosĀ§
- Item-level options:
Derive MacrosĀ§
- Derive macro generating an impl of the trait
Debug
. - Converts enum variants to strings.
- Generate a new type with only the discriminant names.
- Converts strings to enum variants based on their name.
- Implements
From<MyEnum> for &'static str
on an enum. - Generates the
ValueEnum
impl.