yash-env-0.2.1
magicant
released this
12 Jul 15:02
·
208 commits
to master
since this release
[0.2.1] - 2024-07-12
Added
Env::is_interactive
impl yash_system::alias::Glossary for Env
input::Echo
- This is a decorator of
Input
that implements the behavior of the verbose shell option.
- This is a decorator of
input::FdReader
is now marked#[must_use]
.variable::VariableSet::get_scalar
- This is a convenience method that returns a scalar variable as a
Cow<str>
.
- This is a convenience method that returns a scalar variable as a
- Variable name constants in the
variable
module:
CDPATH
,ENV
,HOME
,IFS
,LINENO
,OLDPWD
,OPTARG
,OPTIND
,
PATH
,PPID
,PS1
,PS2
,PS4
,PWD
- Variable initial value constants in the
variable
module:
IFS_INITIAL_VALUE
,OPTIND_INITIAL_VALUE
,PS1_INITIAL_VALUE_NON_ROOT
,
PS1_INITIAL_VALUE_ROOT
,PS2_INITIAL_VALUE
,PS4_INITIAL_VALUE
impl System for &SharedSystem
andimpl trap::SignalSystem for &SharedSystem
- This allows
SharedSystem
to be used as a system behind a non-mutable reference.
- This allows
Changed
- External dependency versions:
- Rust 1.70.0 → 1.77.0
- yash-syntax 0.9.0 → 0.10.0
- Internal dependency versions:
- annotate-snippets 0.10.0 → 0.11.4
- All inherent methods of
SharedSystem
now take&self
instead of&mut self
:SharedSystem::read_async
SharedSystem::write_all
SharedSystem::print_error
Deprecated
input::FdReader::set_echo
in favor ofinput::Echo
Fixed
stack::Stack::loop_count
no longer counts loops below aFrame::Trap(_)
frame.- Possible undefined behavior in
RealSystem::times