# 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 = "mflash-core"
version = "0.1.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The headless, offline-first engine and CLI for mflash v4"
readme = "README.md"
license = "Unlicense"
repository = "https://github.com/MorFlashcards/mflash-core"

[features]
csv_import = ["dep:csv"]
default = []

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

[[bin]]
name = "mflash-core"
path = "src/main.rs"

[dependencies.bytes]
version = "1.11.1"

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.csv]
version = "1.3"
optional = true

[dependencies.dirs]
version = "6.0.0"

[dependencies.image]
version = "0.25.10"
features = ["webp"]

[dependencies.prost]
version = "0.12"

[dependencies.rayon]
version = "1.12.0"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.toml]
version = "0.8"

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

[dependencies.walkdir]
version = "2.5.0"

[dependencies.zip]
version = "0.6"
features = [
    "deflate",
    "zstd",
]
default-features = false

[dependencies.zstd]
version = "0.13"

[build-dependencies.prost-build]
version = "0.12"
