All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.10.2 - 2024-09-01
- Update libc bindings.
0.10.1 - 2023-07-20
- Update libc bindings.
- Fix incorrect build script. (Issue #55)
0.10.0 - 2023-07-04
- Update libc bindings.
- Add
Resource::get_soft
andResource::get_hard
.
The MSRV of v0.10.* is explicitly guaranteed to be 1.60.0.
If you have any idea that can help rlimit
reach v1.0, please leave your comments in this issue.
0.9.1 - 2023-01-30
- PR #46:
prlimit
andProcLimits
are available on Android.
0.9.0 - 2022-12-28
- rlimit v0.9.0 follows the latest libc definitions.
- The MSRV of v0.9.* is explicitly guaranteed to be 1.59.0.
0.8.3 - 2022-04-06
PR #43: Downgrade MSRV
0.8.2 - 2022-04-06
rlimit v0.8.2 uses libc definitions again instead of incorrect custom bindings.
rlimit v0.8.0 and v0.8.1 are yanked now.
0.8.1 - 2022-04-01
PR #36: Fix the bindings for aarch64-apple-darwin.
0.8.0 - 2022-03-31
rlimit v0.8.0 uses custom ffi bindings instead of libc for rlimit symbols and constants. The custom bindings are kept in sync with system headers automatically.
All resource constants are available on all unix platforms.
Passing an unsupported resource to [set|get|p]rlimit
will result in a custom IO error.
Resource::is_supported
Resource::as_raw
is a private method now.
Resource::available_names
Resource::available_resources
RawResource
0.7.0 - 2022-02-13
- Windows support
- rlimit::utils::increase_nofile_limit in v0.6.2 has been moved to rlimit::increase_nofile_limit.
- rlimit::utils::get_kern_max_files_per_proc has been removed from public interfaces.