# 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 = "OCP"
version = "2.10.17"
authors = [
    "brianch <brianch@users.noreply.github.com>",
    "github.com/pepa65",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "offline-chess-puzzles - GUI to solve puzzles from the lichess puzzle database"
readme = "README.md"
keywords = [
    "chess",
    "gui",
    "puzzle-game",
]
categories = ["games"]
license = "MIT"
repository = "https://github.com/pepa65/OCP"

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

[[bin]]
name = "OCP"
path = "src/main.rs"

[dependencies.chess]
version = "3.2.0"

[dependencies.chrono]
version = "0.4.42"

[dependencies.csv]
version = "1.3.1"

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

[dependencies.dirs-next]
version = "2.0.0"

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

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

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

[dependencies.iced_drop]
version = "0.2.9"
features = ["helpers"]

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

[dependencies.include_dir]
version = "0.7.4"

[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.9"

[dependencies.reqwest]
version = "0.12.12"

[dependencies.rfd]
version = "0.17.1"
features = ["gtk3"]
default-features = false

[dependencies.rodio]
version = "0.21.1"
features = [
    "playback",
    "lewton",
]
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.35.0"
features = ["bundled"]

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