# 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 = "2021" name = "xmrsplayer" version = "0.8.5" authors = ["Sebastien Bechet"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "XMrsPlayer is a safe no-std soundtracker music player" documentation = "https://docs.rs/xmrsplayer" readme = "README.md" keywords = [ "xm", "module", "mod", "s3m", "soundtracker", ] categories = [ "multimedia::audio", "embedded", "no-std", ] license = "MIT" repository = "https://codeberg.org/sbechet/xmrsplayer" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "xmrsplayer" path = "src/lib.rs" [[bin]] name = "xmrsplayer" path = "src/bin/cpal_player.rs" required-features = ["demo"] [[example]] name = "arp_bug" path = "examples/arp_bug.rs" [[example]] name = "bufferedsource" path = "examples/bufferedsource.rs" [[example]] name = "rodio_player" path = "examples/rodio_player.rs" [dependencies.clap] version = "4.5" features = [ "cargo", "derive", ] optional = true [dependencies.console] version = "0.15" optional = true [dependencies.cpal] version = "0.15" optional = true [dependencies.hound] version = "3.5" optional = true [dependencies.micromath] version = "2.1" optional = true [dependencies.num-traits] version = "0.2" optional = true default-features = false [dependencies.rodio] version = "0.19" optional = true [dependencies.xmrs] version = "0.8.5" default-features = false [features] default = ["micromath"] demo = [ "std", "clap", "console", "cpal", "hound", "import", "sid", ] import = [ "xmrs/import_amiga", "xmrs/import_s3m", "xmrs/import_sid", "xmrs/import_xm", ] libm = [ "num-traits/libm", "xmrs/libm", ] micromath = [ "dep:micromath", "xmrs/micromath", ] sid = ["xmrs/import_sid"] std = [ "xmrs/std", "use_f64", ] use_f64 = []