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

#913 in Audio

Download history 8903/week @ 2024-12-05 8851/week @ 2024-12-12 5944/week @ 2024-12-19 4944/week @ 2024-12-26 5478/week @ 2025-01-02 6027/week @ 2025-01-09 7817/week @ 2025-01-16 11289/week @ 2025-01-23 10902/week @ 2025-01-30 11593/week @ 2025-02-06 11633/week @ 2025-02-13 11484/week @ 2025-02-20 10715/week @ 2025-02-27 11034/week @ 2025-03-06 11392/week @ 2025-03-13 10729/week @ 2025-03-20

46,431 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