| 1 |
# Change log |
| 2 |
|
| 3 |
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 4 |
|
| 5 |
## [0.7.0] - 2026-04-07 |
| 6 |
|
| 7 |
### Removed |
| 8 |
|
| 9 |
- Removed the implementation of `PartialEq`, `Eq`, `PartialOrd` and `Ord` traits for |
| 10 |
the following structures: |
| 11 |
`avc_memory_callback`, `avc_log_callback`, `avc_thread_callback`, `avc_lock_callback`. |
| 12 |
|
| 13 |
This avoids undefined behavior and implementation-defined behavior that can occur when |
| 14 |
comparing function pointers stored inside these structures. |
| 15 |
|
| 16 |
> ⚠️ **This is a breaking change**. |
| 17 |
|
| 18 |
## [0.6.15] - 2025-06-18 |
| 19 |
|
| 20 |
### Added |
| 21 |
|
| 22 |
- Support for Android. |
| 23 |
|
| 24 |
Thank you very much, *ejcaruso*. |
| 25 |
|
| 26 |
### Changed |
| 27 |
|
| 28 |
- Updated dependencies. |
| 29 |
|
| 30 |
## [0.6.14] - 2025-02-21 |
| 31 |
|
| 32 |
### Changed |
| 33 |
|
| 34 |
- Migrated from 2021 edition to 2024. |
| 35 |
|
| 36 |
## [0.6.13] - 2024-11-23 |
| 37 |
|
| 38 |
### Changed |
| 39 |
|
| 40 |
- Translated some target triplets from `rustc` to `clang` formats. |
| 41 |
|
| 42 |
See: <https://github.com/rust-lang/rust-bindgen/issues/2136> |
| 43 |
|
| 44 |
Thank you very much, *NoisyCoil*. |
| 45 |
|
| 46 |
## [0.6.12] - 2024-09-12 |
| 47 |
|
| 48 |
### Added |
| 49 |
|
| 50 |
- Support for cross-compilation. |
| 51 |
- The `clang` parameter `--target=` is passed to `bindgen`. |
| 52 |
- If one of the environment variables `SYSROOT`, `TARGET_SYSROOT`, `SYSROOT_<target-triple>` |
| 53 |
or `SYSROOT_<TARGET_TRIPLE>` is defined, then the `clang` parameter `--sysroot=` is passed |
| 54 |
to `bindgen`. |
| 55 |
|
| 56 |
## [0.6.11] - 2024-09-12 |
| 57 |
|
| 58 |
### Changed |
| 59 |
|
| 60 |
- Updated dependencies. |
| 61 |
|
| 62 |
## [0.6.10] - 2024-07-28 |
| 63 |
|
| 64 |
### Changed |
| 65 |
|
| 66 |
- Updated dependencies. |
| 67 |
|
| 68 |
## [0.6.9] - 2024-03-27 |
| 69 |
|
| 70 |
### Changed |
| 71 |
|
| 72 |
- Updated dependencies. |
| 73 |
- Moved repository to `codeberg.org`. |
| 74 |
|
| 75 |
## [0.6.8] - 2024-01-19 |
| 76 |
|
| 77 |
### Changed |
| 78 |
|
| 79 |
- Updated dependencies. |
| 80 |
|
| 81 |
## [0.6.7] - 2023-10-31 |
| 82 |
|
| 83 |
### Changed |
| 84 |
|
| 85 |
- When include and/or link paths are specified explicitly, these paths must be provided to all |
| 86 |
compiler instances, both when discovering compiler paths, and when executing `bindgen`. |
| 87 |
- Updated dependencies. |
| 88 |
|
| 89 |
## [0.6.6] - 2023-08-09 |
| 90 |
|
| 91 |
### Changed |
| 92 |
|
| 93 |
- Updated dependencies. |
| 94 |
|
| 95 |
## [0.6.5] - 2023-06-07 |
| 96 |
|
| 97 |
### Changed |
| 98 |
|
| 99 |
- Updated build script to better integrate with `cargo`. |
| 100 |
|
| 101 |
## [0.6.4] - 2023-04-18 |
| 102 |
|
| 103 |
### Changed |
| 104 |
|
| 105 |
- Updated dependencies. |
| 106 |
|
| 107 |
## [0.6.3] - 2023-02-23 |
| 108 |
|
| 109 |
### Changed |
| 110 |
|
| 111 |
- Updated dependencies. |
| 112 |
|
| 113 |
## [0.6.2] - 2022-11-22 |
| 114 |
|
| 115 |
### Changed |
| 116 |
|
| 117 |
- Updated dependencies. |
| 118 |
|
| 119 |
## [0.6.1] - 2022-11-20 |
| 120 |
|
| 121 |
### Changed |
| 122 |
|
| 123 |
- Updated dependencies. |
| 124 |
|
| 125 |
## [0.6.0] - 2022-11-14 |
| 126 |
|
| 127 |
### Changed |
| 128 |
|
| 129 |
- Rust edition is updated to 2021. |
| 130 |
|
| 131 |
> ⚠️ **This is a breaking change**. |
| 132 |
|
| 133 |
- Updated dependencies. |
| 134 |
|
| 135 |
## [0.5.3] - 2022-08-24 |
| 136 |
|
| 137 |
### Changed |
| 138 |
|
| 139 |
- Pass headers include path to the compiler when generating bindings. |
| 140 |
Specifying the `SELINUX_INCLUDE_DIR` or `SELINUX_PATH` environment variables |
| 141 |
now also affects the command line of the compiler used to generate bindings. |
| 142 |
- Updated dependencies. |
| 143 |
|
| 144 |
Thank you very much, *etienne-cor*. |
| 145 |
|
| 146 |
## [0.5.2] - 2022-02-02 |
| 147 |
|
| 148 |
### Added |
| 149 |
|
| 150 |
- Support building for target triplets that end with `-linux`. |
| 151 |
|
| 152 |
## [0.5.1] - 2021-08-01 |
| 153 |
|
| 154 |
### Changed |
| 155 |
|
| 156 |
- Stopped using `std::slice::strip_prefix()`, in order to reduce the minimum |
| 157 |
supported Rust version for this crate. |
| 158 |
|
| 159 |
## [0.5.0] - 2021-07-28 |
| 160 |
|
| 161 |
### Changed |
| 162 |
|
| 163 |
- Updated dependencies. |
| 164 |
|
| 165 |
### Removed |
| 166 |
|
| 167 |
- Removed all fixed C integer types, such as `__uint8_t`, `__uint32_t`, etc. |
| 168 |
|
| 169 |
> ⚠️ **This is a breaking change**. |
| 170 |
|
| 171 |
## [0.4.2] - 2021-06-01 |
| 172 |
|
| 173 |
### Added |
| 174 |
|
| 175 |
- Implemented `Eq` and `Ord` for generated structures. |
| 176 |
|
| 177 |
## [0.4.1] - 2021-05-09 |
| 178 |
|
| 179 |
### Added |
| 180 |
|
| 181 |
- Exposed the `getseuser()` API. |
| 182 |
|
| 183 |
## [0.4.0] - 2021-05-04 |
| 184 |
|
| 185 |
### Changed |
| 186 |
|
| 187 |
- Instead of using the `pkg-config` crate, we now detect compilers and flags |
| 188 |
mostly based on the `cc` crate. This allows cross-compilation. |
| 189 |
- Updated documentation. |
| 190 |
|
| 191 |
## [0.3.1] - 2021-04-17 |
| 192 |
|
| 193 |
### Changed |
| 194 |
|
| 195 |
- Updated documentation. |
| 196 |
|
| 197 |
## [0.3.0] - 2021-04-17 |
| 198 |
|
| 199 |
### Changed |
| 200 |
|
| 201 |
- Building for the following platforms is now supported, but it results in |
| 202 |
an empty crate: |
| 203 |
- Non-Linux systems. |
| 204 |
- The Linux kernel. |
| 205 |
|
| 206 |
## [0.2.1] - 2021-04-17 |
| 207 |
|
| 208 |
### Changed |
| 209 |
|
| 210 |
- Updated dependencies. |
| 211 |
|
| 212 |
## [0.2.0] - 2021-03-17 |
| 213 |
|
| 214 |
### Fixed |
| 215 |
|
| 216 |
- Make sure `DEP_SELINUX_INCLUDE` and `DEP_SELINUX_LIB` point to directories. |
| 217 |
They previously pointed to files. |
| 218 |
|
| 219 |
## [0.1.0] - 2021-03-06 |
| 220 |
|
| 221 |
### Added |
| 222 |
|
| 223 |
- Initial release. |