# 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 = "amll-lyric" version = "0.2.4" authors = ["SteveXMH <39523898+Steve-xmh@users.noreply.github.com>"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "一个歌词解析/生成模块,着重于歌词内容解析,支持多种格式" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/Steve-xmh/applemusic-like-lyrics" [lib] name = "amll_lyric" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.cipher] version = "0.4" optional = true [dependencies.miniz_oxide] version = "0.7" optional = true [dependencies.nom] version = "7.1" optional = true [dependencies.quick-xml] version = "0.31" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1" optional = true [build-dependencies.cc] version = "1.0" optional = true [features] ass = [] default = [ "ass", "lrc", "yrc", "qrc", "lys", "eslrc", "ttml", "eqrc", "serde", ] eqrc = [ "dep:miniz_oxide", "dep:cc", ] eslrc = [ "dep:nom", "lrc", ] lrc = ["dep:nom"] lys = ["dep:nom"] qrc = ["dep:nom"] serde = ["dep:serde"] ttml = [ "dep:quick-xml", "dep:thiserror", "dep:nom", ] yrc = ["dep:nom"] [target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook] version = "0.1" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen] version = "0.6" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.wee_alloc] version = "0.4" optional = true