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

#926 in Audio

Download history 4705/week @ 2024-12-25 5094/week @ 2025-01-01 6477/week @ 2025-01-08 6958/week @ 2025-01-15 10587/week @ 2025-01-22 11324/week @ 2025-01-29 11167/week @ 2025-02-05 12792/week @ 2025-02-12 10009/week @ 2025-02-19 12117/week @ 2025-02-26 10796/week @ 2025-03-05 11372/week @ 2025-03-12 11975/week @ 2025-03-19 12513/week @ 2025-03-26 10159/week @ 2025-04-02 10669/week @ 2025-04-09

47,010 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