anni-provider 0.3.1

Storage providers for Project Anni.
Documentation
# 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-provider"
version = "0.3.1"
authors = ["Yesterday17 <mmf@mmf.moe>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage providers for Project Anni."
readme = false
license = "Apache-2.0"
repository = "https://github.com/ProjectAnni/anni"

[lib]
name = "anni_provider"
path = "src/lib.rs"

[dependencies.anni-common]
version = "0.2.0"

[dependencies.anni-flac]
version = "0.2.2"
features = ["async"]

[dependencies.anni-google-drive3]
version = "0.1.0"
optional = true

[dependencies.anni-repo]
version = "0.4.2"
features = ["db-read"]
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.dashmap]
version = "5.2.0"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.lru]
version = "0.12.0"

[dependencies.parking_lot]
version = "0.12.0"

[dependencies.reqwest]
version = "0.11.15"
features = [
    "rustls",
    "json",
    "stream",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "fs",
    "rt",
]

[dependencies.tokio-stream]
version = "0.1.8"

[dependencies.tokio-util]
version = "0.7.2"
features = [
    "compat",
    "io",
]

[dependencies.uuid]
version = "1"
features = ["v4"]

[features]
convention = ["repo"]
default = ["full"]
drive = [
    "repo",
    "anni-google-drive3",
]
full = [
    "convention",
    "drive",
    "proxy",
    "strict",
    "priority",
]
priority = []
proxy = ["reqwest"]
repo = ["anni-repo"]
strict = []