5 releases

0.1.8 Mar 13, 2025
0.1.7 Feb 8, 2025
0.1.4 Feb 21, 2023
0.1.2 Dec 9, 2022

#916 in Audio

Download history 7774/week @ 2024-12-01 9350/week @ 2024-12-08 8723/week @ 2024-12-15 4760/week @ 2024-12-22 4225/week @ 2024-12-29 6123/week @ 2025-01-05 6661/week @ 2025-01-12 8959/week @ 2025-01-19 11428/week @ 2025-01-26 10812/week @ 2025-02-02 12982/week @ 2025-02-09 10460/week @ 2025-02-16 11915/week @ 2025-02-23 10763/week @ 2025-03-02 10674/week @ 2025-03-09 11969/week @ 2025-03-16

47,226 downloads per month
Used in 18 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