# 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 = "2024"
name = "offline-chess-puzzles"
version = "2.5.6"
authors = [
    "brianch <brianch@users.noreply.github.com>",
    "github.com/pepa65",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool to view and solve puzzles from the lichess puzzle database"
readme = "README.md"
license = "MIT"
repository = "https://github.com/pepa65/offline-chess-puzzles"

[package.metadata.binstall]
disabled-strategies = [
    "quick-install",
    "compile",
]
pkg-fmt = "bin"
pkg-url = "{repo}/releases/download/{version}/{name}"
target-arch = "X86_64"
target-family = "Linux"

[[bin]]
name = "offline-chess-puzzles"
path = "src/main.rs"

[dependencies.chess]
version = "3.2.0"

[dependencies.csv]
version = "1.3.1"

[dependencies.diesel]
version = "2"
features = ["sqlite"]

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.fluent-bundle]
version = "0"

[dependencies.iced]
version = "0.13.1"
features = [
    "svg",
    "tokio",
    "lazy",
    "advanced",
]
default-features = false

[dependencies.iced_aw]
version = "0"
features = ["tabs"]
default-features = false

[dependencies.iced_drop]
version = "0"

[dependencies.image]
version = "0.25.5"
features = ["jpeg"]
default-features = false

[dependencies.intl-memoizer]
version = "0.5.2"

[dependencies.lopdf]
version = "0"

[dependencies.once_cell]
version = "1.20.2"

[dependencies.open]
version = "5.3.2"

[dependencies.rand]
version = "0"

[dependencies.reqwest]
version = "0.12.12"

[dependencies.rfd]
version = "0.15.2"

[dependencies.rodio]
version = "0.20.1"
features = ["vorbis"]
default-features = false

[dependencies.serde]
version = "1.0.217"

[dependencies.serde_derive]
version = "1.0.217"

[dependencies.serde_json]
version = "1.0.135"

[dependencies.tokio]
version = "1.43.0"
features = [
    "process",
    "io-std",
    "io-util",
    "sync",
]

[dependencies.unic-langid]
version = "0.9.5"
features = ["macros"]

[dependencies.zstd]
version = "0.13.2"

[target."cfg(windows)".dependencies.libsqlite3-sys]
version = "0"
features = ["bundled"]

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"
