- Updated MSRV to 1.80.0 (#132)
- Updated
nix
,strum
, andbitflags
dependencies (#132) - Updated
sysctl
dependency (#135). - Updated
rctl
dependency, and in the process eliminated a transitive dependency on theusers
crate. (#136).
- Switched from Cirrus-CI to GitHub Actions
- Deprecated
failure
, moved tothiserror
(#96) - Updated examples to Rust 2018 and deprecated
prettytable-rs
in favor ofcli-table
(#101) - Updated
rctl
to version 0.2 - Updated
nix
to version 0.22 - Updated
strum_macros
to version 0.21.1 - Updated
strum
to version 0.21.0 - Updated
pretty_env_logger
used in examples to 0.4 - Multiple style and clippy fixes (#100)
- Do not pass empty ip4.addr and ip6.addr params (#79)
- Fixed build on ARM/POWER (#94)
- Updated
sysctl
to version 0.4.0 - Updated
strum
to 0.16.0 - Use
pre_exec
instead ofbefore_exec
inJailed::jail
- Remove the need to set an increased
type_length_limit
(Thanks to @phyber!)
- Due to an issue with
type_length_limit
increasing exponentially, consumers of libjail-rs may have to set an increasedtype_length_limit
on their crate. (#59)
- implementations for
TryFrom
to start / stop jails. - example showing how to query RCTL usage.
- code coverage with codecov.io. Unfortunately, this doesn't yet take docstests into account, so coverage is actually a bit better in reality.
- serialization support for stopped jails with serde (#53)
- Published
RunningJails
asRunningJailIter
RunningJail::from_jid(...)
now returns anOption<RunningJail>
depending on whether a Jail exists with that JID. The old behaviour ofRunningJail::from_jid(...)
can be found inRunningJail::from_jid_unchecked(...)
- Added debug logging using the
log
crate.
- Increased
type_length_limit
to 17825821 to fix a build failure on Rust 1.35.0 (See #59, #60, rust-lang/rust#58952). RunningJails::params()
now correctly fails when an error occurs while reading parameters.
- support for setting tunable jail parameters
- support for non-persistent jails
- examples/jls: fixed
nix
version mismatch withrctl
crate - fixed jail teardown and save if RCTL not enabled
RunningJail
now derivesCopy
.RunningJail::jail_attach
is now public.RunningJail::save
now no longer saves thevnet
parameter if it is set toinherit
(2). See #34.- updated rctl to 0.0.5
- updated prettytable-rs to 0.8.0
- RCTL / RACCT support
-
this Changelog
-
iteration over running jails
-
jls
example showcasing iteration -
API to query parameter types