-
Broadened the dependency spec on Nix, for better compatibility with downstream consumers that have various requirements. (#157)
-
Broadened the dependency spec on rctl, sysctl, and thiserror, for better compatibility with downstream consumers that have various requirements. (#166)
- Updated MSRV to 1.80.0 (#132)
- Updated
nix,strum, andbitflagsdependencies (#132) - Updated
sysctldependency (#135). - Updated
rctldependency, and in the process eliminated a transitive dependency on theuserscrate. (#136).
- Switched from Cirrus-CI to GitHub Actions
- Deprecated
failure, moved tothiserror(#96) - Updated examples to Rust 2018 and deprecated
prettytable-rsin favor ofcli-table(#101) - Updated
rctlto version 0.2 - Updated
nixto version 0.22 - Updated
strum_macrosto version 0.21.1 - Updated
strumto version 0.21.0 - Updated
pretty_env_loggerused 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
sysctlto version 0.4.0 - Updated
strumto 0.16.0 - Use
pre_execinstead ofbefore_execinJailed::jail
- Remove the need to set an increased
type_length_limit(Thanks to @phyber!)
- Due to an issue with
type_length_limitincreasing exponentially, consumers of libjail-rs may have to set an increasedtype_length_limiton their crate. (#59)
- implementations for
TryFromto 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
RunningJailsasRunningJailIter 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
logcrate.
- Increased
type_length_limitto 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
nixversion mismatch withrctlcrate - fixed jail teardown and save if RCTL not enabled
RunningJailnow derivesCopy.RunningJail::jail_attachis now public.RunningJail::savenow no longer saves thevnetparameter 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
-
jlsexample showcasing iteration -
API to query parameter types