# 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 = "anni-repo" version = "0.4.2" authors = ["Yesterday17 "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Operate on anni metadata repository." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/ProjectAnni/anni" [lib] name = "anni_repo" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[test]] name = "album" path = "tests/album.rs" [[test]] name = "format" path = "tests/format.rs" [[test]] name = "repo" path = "tests/repo.rs" [dependencies.alphanumeric-sort] version = "1.4.4" optional = true [dependencies.anni-artist] version = "0.1.1" [dependencies.anni-common] version = "0.2.0" [dependencies.anni-flac] version = "0.2.2" optional = true [dependencies.git2] version = "0.18.1" features = ["vendored-libgit2"] optional = true default-features = false [dependencies.git2-ureq] version = "0.3.0" features = ["socks-proxy"] optional = true [dependencies.indexmap] version = "2.1.0" [dependencies.lindera-core] version = "0.27.2" optional = true [dependencies.lindera-dictionary] version = "0.27.2" optional = true [dependencies.lindera-tantivy] version = "0.27.1" features = ["ipadic-compress"] optional = true [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1" [dependencies.pathdiff] version = "0.2.1" [dependencies.regex] version = "1" [dependencies.rusqlite] version = "0.30.0" features = [ "uuid", "bundled", "serde_json", ] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_rusqlite] version = "0.34.0" optional = true [dependencies.tantivy] version = "0.21.1" optional = true [dependencies.thiserror] version = "1.0" [dependencies.toml] version = "0.7.3" [dependencies.toml_edit] version = "0.21.0" [dependencies.uuid] version = "1" features = [ "v4", "serde", ] [features] apply = [ "flac", "alphanumeric-sort", ] db = [ "db-read", "db-write", ] db-read = [ "rusqlite", "serde_rusqlite", ] db-write = ["rusqlite"] default = ["json"] flac = ["anni-flac"] git = [ "git2", "git2-ureq", ] json = ["serde_json"] search = [ "tantivy", "lindera-core", "lindera-dictionary", "lindera-tantivy", ]