# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "babycat" version = "0.0.15" authors = ["Neocrym Records Inc. "] include = [ "Cargo.toml", "benches", "examples", "rust-toolchain.toml", "src", "tests", ] description = "An audio decoding and manipulation library, with bindings for C, Python, and WebAssembly." homepage = "https://babycat.io" readme = "README.md" license = "MIT" repository = "https://github.com/babycat-io/babycat" [package.metadata.docs.rs] features = ["frontend-rust"] all-features = false no-default-features = false [lib] name = "babycat" crate-type = [ "rlib", "cdylib", "staticlib", ] [[bin]] name = "babycat" path = "src/bin/babycat/main.rs" required-features = ["frontend-binary"] [dependencies.base64] version = "0.13" [dependencies.crossterm] version = "0.23" optional = true [dependencies.either] version = "1.6" [dependencies.env_logger] version = "0.9" optional = true [dependencies.ffmpeg-next] version = "5.1.1" optional = true default-features = false [dependencies.float-cmp] version = "0.9" [dependencies.hound] version = "3.4" [dependencies.humantime] version = "2.1" [dependencies.js-sys] version = "0.3" optional = true [dependencies.log] version = "0.4" features = ["serde"] [dependencies.numpy] version = "0.18.0" optional = true [dependencies.pyo3] version = "0.18.1" optional = true [dependencies.rayon] version = "1.6.1" optional = true [dependencies.rodio] version = "0.15" optional = true default-features = false [dependencies.samplerate] version = "0.2.4" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.structopt] version = "0.3" optional = true [dependencies.symphonia] version = "0.5.2" features = [ "aac", "alac", "flac", "mp3", "mkv", "pcm", "isomp4", "wav", "ogg", "vorbis", ] [dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] optional = true [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = ["frontend-rust"] enable-audio-playback = ["rodio"] enable-ffmpeg = [ "ffmpeg-next", "ffmpeg-next/codec", "ffmpeg-next/device", "ffmpeg-next/format", ] enable-ffmpeg-build = [ "enable-ffmpeg", "enable-ffmpeg-static", "ffmpeg-next/build", ] enable-ffmpeg-static = [ "enable-ffmpeg", "ffmpeg-next/static", ] enable-filesystem = [] enable-libsamplerate = ["samplerate"] enable-multithreading = ["rayon"] frontend-binary = [ "enable-filesystem", "enable-multithreading", "enable-libsamplerate", "enable-audio-playback", "env_logger", "structopt", "crossterm", ] frontend-c = [ "enable-filesystem", "enable-multithreading", "enable-libsamplerate", ] frontend-python = [ "enable-filesystem", "enable-multithreading", "enable-libsamplerate", "numpy", "pyo3", "pyo3/extension-module", "pyo3/abi3", "pyo3/abi3-py38", ] frontend-rust = [ "enable-filesystem", "enable-multithreading", "enable-libsamplerate", ] frontend-wasm = [ "wasm-bindgen", "js-sys", ]