Cargo Features

[dependencies]
anni-repo = { version = "0.4.1", default-features = false, features = ["apply", "db", "db-read", "db-write", "git", "flac", "json", "search"] }
default = json

The json feature is set by default whenever anni-repo is added without default-features = false somewhere in the dependency tree.

apply = alphanumeric-sort, flac

Affects error::AlbumApplyError

db = db-read, db-write
db-read db? = rusqlite, serde_rusqlite
db-write db? = rusqlite
git = git2, git2-ureq

Affects git::setup_git2

flac apply? = anni-flac
json default = serde_json

Affects anni-repo::search

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde_json json
anni-flac flac?

Enables anni-flac

flac

alphanumeric-sort apply?
git2 git?

Enables git2 ^0.16.1

Git related

git2-ureq git?

Enables git2-ureq ^0.2.0

rusqlite db-read? db-write?

Enables rusqlite ^0.28.0

SQLite related

serde_rusqlite db-read?

Enables serde_rusqlite ^0.31.0

tantivy search?

Enables tantivy ^0.19.2

Search

lindera-tantivy search?

Enables lindera-tantivy ^0.23.0