#object-file #archive #ar

build ar_archive_writer

A writer for object file ar archives

15 releases

Uses new Rust 2024

0.5.1 Aug 25, 2025
0.4.2 Aug 20, 2024
0.3.1 Jul 25, 2024
0.1.5 Aug 13, 2023
0.1.1 Aug 31, 2022

#52 in Build Utils

Download history 272185/week @ 2025-12-13 180686/week @ 2025-12-20 179529/week @ 2025-12-27 313289/week @ 2026-01-03 342440/week @ 2026-01-10 335380/week @ 2026-01-17 385883/week @ 2026-01-24 399998/week @ 2026-01-31 434798/week @ 2026-02-07 567009/week @ 2026-02-14 745219/week @ 2026-02-21 735142/week @ 2026-02-28 964175/week @ 2026-03-07 1116972/week @ 2026-03-14 1104891/week @ 2026-03-21 1159272/week @ 2026-03-28

4,479,188 downloads per month
Used in 2,715 crates (3 directly)

Apache-2.0 WITH LLVM-exception

200KB
4K SLoC

Rust 2K SLoC // 0.1% comments C++ 2K SLoC // 0.2% comments

A writer for object file ar archives

This is a Rust port of LLVM's archive writer (see the LLVM Reference for details) with the following options removed:

  • Deterministic: always enabled.
  • Symbol tables: always enabled.

License

Licensed under Apache License v2.0 with LLVM Exceptions (LICENSE.txt or https://llvm.org/LICENSE.txt)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~38K SLoC