Commit Graph

43 Commits

Author SHA1 Message Date
Wildan M 4a7f2d80ff Avoid StringWriter cast and string format 2026-05-20 09:10:25 +07:00
auronandace c75c13da91 disamiguate include guards for arpa_inet and sys_time 2026-05-08 07:54:05 +01:00
auronandace 8cec0c2280 import socklen_t from sys_socket instead of bits 2026-05-03 16:54:46 +01:00
sourceturner 4ffd337b9b add #[allow(deprecated)] annotations
allow using deprecated functions and data structures
in deprecated functions
2026-04-20 21:37:52 +00:00
auronandace d826d1fdc2 verify netinet_in header includes 2026-03-25 10:50:01 +00:00
auronandace 9b76fce0cc move 4 conversion functions from netinet_in to arpa_inet 2026-03-24 11:22:14 +00:00
auronandace 25f059bf67 iterate instead of indexing using a range 2026-03-15 21:39:10 +00:00
auronandace 0a5f8429a3 negate filter predicate 2026-03-13 08:41:41 +00:00
auronandace 29d0cc67ee cargo fmt 2026-03-13 08:23:49 +00:00
auronandace 0d0afac2c8 fix parsing octets with leading zeros in inet_pton 2026-03-13 08:18:01 +00:00
auronandace ae91f48fae remove duplicate socklen_t definition 2026-03-11 12:42:53 +00:00
auronandace 63366e98ef correct the count 2026-03-04 16:35:07 +00:00
auronandace 5ce797af52 partially improve inet_aton 2026-03-04 15:38:15 +00:00
auronandace 6933287a94 enforce borrow-as-ptr clippy lint 2026-03-01 19:54:31 +00:00
auronandace 5d753b7f48 refactor some as casts in arpa_inet 2026-02-17 17:35:13 +00:00
auronandace 38a6cd5359 verify arpa_inet includes 2026-02-03 09:11:29 +00:00
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00
auronandace 6e25b2be7f arpa_inet and semaphore header cleanup 2025-12-31 09:14:21 +00:00
Jeremy Soller 3765148270 Fix incompatible functions 2025-12-19 12:55:43 -07:00
Jeremy Soller 16814d2e32 Fix socklen_t type 2025-11-07 18:10:17 -07:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Jeremy Soller 863171105d Move htonl, htons, ntohl, ntohs to netinet/in.h to support more packages 2025-05-02 09:49:37 -06:00
Peter Limkilde Svendsen a285728610 Formatting 2025-01-30 21:35:43 +01:00
Peter Limkilde Svendsen f4c75e99cd Align function parameter names and types with POSIX 2025-01-30 21:35:11 +01:00
Peter Limkilde Svendsen b36ae4cab5 Reorder functions alphabetically 2025-01-30 21:23:54 +01:00
Peter Limkilde Svendsen 5ec734a672 Add docstrings and deprecations for arpa/inet.h 2025-01-30 21:19:20 +01:00
Peter Limkilde Svendsen 58bb5a9689 Use unsafe blocks in arpa/inet.h implementation 2024-09-11 21:14:14 +00:00
Peter Limkilde Svendsen a7137512fa Use standard casing and mangling for internal errno 2024-03-01 00:25:42 +00:00
Peter Limkilde Svendsen 9093f6bc47 Use Cell representation for errno 2024-02-29 14:07:40 +00:00
Peter Limkilde Svendsen e4a7186b22 Use C type names in byteorder functions 2020-05-28 20:17:57 +02:00
jD91mZM2 b8c50c7c64 Format 2019-08-04 19:05:45 +02:00
jD91mZM2 c7d499d4f2 Upgrade to the 2018 edition
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła 63a1319e50 Cbindgen update 2019-07-10 10:08:39 +00:00
Jeremy Soller 52fd4d7e83 Clippy fixes 2018-12-02 08:04:53 -07:00
Jeremy Soller 950b4526c7 - Disable output of empty header files
- Remove incorrect header styles
- Use export.replace where header style was previously needed
- Check compilation of tests using system gcc
2018-11-26 21:35:02 -07:00
Jeremy Soller 7f14fcdee0 Remove c_str functions, replace with CStr 2018-09-24 21:08:29 -06:00
jD91mZM2 59d74e194d Fix CI 2018-09-04 15:31:43 +02:00
thedarkula e688d9c4d1 Updated url, implemented missing functions in header/arpa_inet/mod.rs 2018-09-04 02:59:59 +01:00
jD91mZM2 26f953e11f Run fmt.sh 2018-09-02 08:17:52 +02:00
jD91mZM2 6fe3e05ea0 Delete duplicate types
Now that we use cbindgen differently :D
2018-09-02 08:17:15 +02:00
Jeremy Soller 8f5470fd27 Reduce warnings 2018-08-27 07:12:24 -06:00
Jeremy Soller 7ab700315d Fix warnings and add c_str 2018-08-26 15:15:29 -06:00
Jeremy Soller c20ce5ffed Large reorganization of headers (WIP) 2018-08-26 08:11:35 -06:00