#music #digital #generate

no-std ensnare

A library for generating digital audio

13 releases

0.1.0 Dec 31, 2022
0.0.2-alpha.17 Jun 7, 2024
0.0.2-alpha.3 May 30, 2024
0.0.1 Jun 22, 2023

#132 in Audio

Download history 23/week @ 2024-02-26 1/week @ 2024-03-11 38/week @ 2024-04-01 142/week @ 2024-05-27 913/week @ 2024-06-03 65/week @ 2024-06-10

1,120 downloads per month
Used in ensnare-services


6.5K SLoC

Ensnare: Generate digital audio in Rust

Ensnare is a Rust library for generating digital audio. It is pre-release. Its API is not yet stable.


See the examples directory for usage, or visit docs.rs to see the API documentation.


To set up your Linux machine for development, see the apt install packages in .github/workflows/build.yml. Other platforms don't have special dependencies.

Cargo commands that I like:

  • deb
  • expand
  • fmt
  • machete
  • release
  • tree

Various Bash commands that I use during Ensnare development:

  • ./precheck: runs formatting and tests that should precede any commit.
  • ./do-release: Generates a new release and pushes it to GitHub and crates.io.

Crates in the Ensnare family


~668K SLoC