8 releases

0.1.11 Dec 4, 2025
0.1.10 Aug 12, 2025
0.1.9 May 16, 2025
0.1.8 Mar 13, 2025
0.1.2 Dec 9, 2022

#1426 in Audio

Download history 6029/week @ 2025-11-06 7554/week @ 2025-11-13 11410/week @ 2025-11-20 11425/week @ 2025-11-27 5850/week @ 2025-12-04 6831/week @ 2025-12-11 4832/week @ 2025-12-18 7283/week @ 2025-12-25 3420/week @ 2026-01-01 3489/week @ 2026-01-08 3281/week @ 2026-01-15 3031/week @ 2026-01-22 3199/week @ 2026-01-29 3561/week @ 2026-02-05 3366/week @ 2026-02-12 3734/week @ 2026-02-19

14,342 downloads per month
Used in 31 crates (via mp3lame-encoder)

LGPL-3.0

2.5MB
62K SLoC

C 30K SLoC // 0.1% comments M4 9K SLoC // 0.2% comments Shell 8K SLoC // 0.2% comments C++ 7K SLoC // 0.3% comments Visual Studio Project 5.5K SLoC Automake 469 SLoC // 0.1% comments Rust 406 SLoC // 0.0% comments Visual Studio Solution 194 SLoC Pascal 178 SLoC // 0.3% comments RPM Specfile 144 SLoC // 0.0% comments Batch 90 SLoC VBScript 86 SLoC // 0.4% comments Snakemake 47 SLoC Perl 33 SLoC // 0.3% comments

Contains (autotools obfuscated code, 605KB) lame-3.100/configure

mp3lame-sys

Rust Crates.io Documentation

Bindings to LAME

This is static only build with bundled version 3.100 (latest as of 2022/12/08)

There is safe and convenient wrapper over it: https://github.com/DoumanAsh/mp3lame-encoder

Features

  • decoder - Enables MPG library decoding under GPL;
  • target_host - Overrides host option with TARGET for purpose of compiling C code in case of cross-compilation.

Env variables

  • MP3LAME_SYS_OVERRIDE_HOST - Specifies override for host option within configure.

License

LAME library is under LGPL License. Hence this crate is licensed under the same shitty license

Dependencies