[package] name = "unopus" authors = ["twlite"] version = "0.0.1" edition = "2021" repository = "https://github.com/twlite/unopus" description = "libopus transpiled to rust by c2rust" license = "BSD-3-Clause" [profile.release] debug = true [dependencies] # for complex numbers impl num-traits = "0.2.16" num-complex = "0.4.1" # for slicing arrays to other arrays arrayref = "0.3.7" # for parsing cli arguments in binaries clap = { version = "4.3.23", features = ["derive"], optional = true } audiopus_sys = { version = "0.2.2", optional = true } byteorder = { version = "1.4.3", optional = true } [dev-dependencies] # some translated tests haven't been rewritten not to use libc yet libc = "0.2" libc-stdhandle = "0.1.0" insta = "1.29.0" [features] test = ["byteorder"] test-upstream-libopus = ["audiopus_sys"] bins = ["clap"] [[bin]] name = "opus_compare" required-features = ["bins", "test"] [[bin]] name = "opus_demo" required-features = ["bins"] [[bin]] name = "repacketizer_demo" required-features = ["bins"] [[bin]] name = "run_vectors" required-features = ["bins"]