Debian Codegraph @

debian/rust-vendor/rlimit/CHANGELOG.md

raw
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7 ## [Unreleased]
8
9 [Unreleased]: https://github.com/Nugine/rlimit/compare/v0.11.0...HEAD
10
11 ## [0.11.0] - 2026-02-02
12
13 [0.11.0]: https://github.com/Nugine/rlimit/compare/v0.10.2...v0.11.0
14
15 + [PR #71](https://github.com/Nugine/rlimit/pull/71): Add system-wide file descriptor limits support (`SysLimits`) on Linux/Android.
16 + [PR #75](https://github.com/Nugine/rlimit/pull/75): Fix `setmaxstdio` crash on Windows when values exceed `c_int::MAX`.
17 + [PR #78](https://github.com/Nugine/rlimit/pull/78): Document number casting safety across platform boundaries.
18 + Bump MSRV to 1.65.0.
19 + Update libc bindings (libc 0.2.180).
20
21 ## [0.10.2] - 2024-09-01
22
23 [0.10.2]: https://github.com/Nugine/rlimit/compare/v0.10.1...v0.10.2
24
25 + Update libc bindings.
26
27 ## [0.10.1] - 2023-07-20
28
29 [0.10.1]: https://github.com/Nugine/rlimit/compare/v0.10.0...v0.10.1
30
31 + Update libc bindings.
32 + Fix incorrect build script. ([Issue #55](https://github.com/Nugine/rlimit/issues/55))
33
34 ## [0.10.0] - 2023-07-04
35
36 [0.10.0]: https://github.com/Nugine/rlimit/compare/v0.9.1...v0.10.0
37
38 + Update libc bindings.
39 + Add `Resource::get_soft` and `Resource::get_hard`.
40
41 The MSRV of v0.10.* is explicitly guaranteed to be 1.60.0.
42
43 If you have any idea that can help `rlimit` reach v1.0, please leave your comments in [this issue](https://github.com/Nugine/rlimit/issues/27).
44
45 ## [0.9.1] - 2023-01-30
46
47 [0.9.1]: https://github.com/Nugine/rlimit/compare/v0.9.0...v0.9.1
48
49 + [PR #46](https://github.com/Nugine/rlimit/pull/46): `prlimit` and `ProcLimits` are available on Android.
50
51 ## [0.9.0] - 2022-12-28
52
53 [0.9.0]: https://github.com/Nugine/rlimit/compare/v0.8.3...v0.9.0
54
55 + rlimit v0.9.0 follows the latest libc definitions.
56 + The MSRV of v0.9.* is explicitly guaranteed to be 1.59.0.
57
58 ## [0.8.3] - 2022-04-06
59
60 [0.8.3]: https://github.com/Nugine/rlimit/compare/v0.8.2...v0.8.3
61
62 [PR #43](https://github.com/Nugine/rlimit/pull/43): Downgrade MSRV
63
64 ## [0.8.2] - 2022-04-06
65
66 [0.8.2]: https://github.com/Nugine/rlimit/compare/v0.8.1...v0.8.2
67
68 rlimit v0.8.2 uses libc definitions again instead of incorrect custom bindings.
69
70 rlimit v0.8.0 and v0.8.1 are yanked now.
71
72 ## ~~[0.8.1] - 2022-04-01~~
73
74 [0.8.1]: https://github.com/Nugine/rlimit/compare/v0.8.0...v0.8.1
75
76 [PR #36](https://github.com/Nugine/rlimit/pull/36): Fix the bindings for aarch64-apple-darwin.
77
78 ## ~~[0.8.0] - 2022-03-31~~
79
80 [0.8.0]: https://github.com/Nugine/rlimit/compare/v0.7.0...v0.8.0
81
82 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.
83
84 All resource constants are available on all unix platforms.
85 Passing an unsupported resource to `[set|get|p]rlimit` will result in a custom IO error.
86
87 ### Added
88
89 + `Resource::is_supported`
90
91 ### Changed
92
93 + `Resource::as_raw` is a private method now.
94
95 ### Removed
96
97 + `Resource::available_names`
98 + `Resource::available_resources`
99 + `RawResource`
100
101 ## [0.7.0] - 2022-02-13
102
103 [0.7.0]: https://github.com/Nugine/rlimit/compare/v0.6.2...v0.7.0
104
105 ### Added
106
107 + Windows support
108 + [rlimit::getmaxstdio](https://docs.rs/rlimit/0.7.0/rlimit/fn.getmaxstdio.html)
109 + [rlimit::setmaxstdio](https://docs.rs/rlimit/0.7.0/rlimit/fn.stdmaxstdio.html)
110
111 ### Changed
112
113 + [rlimit::utils::increase_nofile_limit] in v0.6.2 has been moved to [rlimit::increase_nofile_limit].
114
115 [rlimit::utils::increase_nofile_limit]: https://docs.rs/rlimit/0.6.2/rlimit/utils/fn.increase_nofile_limit.html
116
117 [rlimit::increase_nofile_limit]: https://docs.rs/rlimit/0.7.0/rlimit/fn.increase_nofile_limit.html
118
119 ### Removed
120
121 + [rlimit::utils::get_kern_max_files_per_proc] has been removed from public interfaces.
122
123 [rlimit::utils::get_kern_max_files_per_proc]: https://docs.rs/rlimit/0.6.2/x86_64-apple-darwin/rlimit/utils/fn.get_kern_max_files_per_proc.html