# 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"
rust-version = "1.85"
name = "gfcore"
version = "0.0.1"
build = false
exclude = [
    ".github/*",
    ".devcontainer/*",
    ".claude/*",
    "docs/*",
    "examples/*",
    "src/examples/*",
    "deny.toml",
    "Makefile",
    ".gitignore",
    "Cargo.lock",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Go Fish card game engine"
homepage = "https://github.com/ImperialBower/gfcore"
readme = "README.md"
keywords = [
    "go-fish",
    "card-game",
    "game-engine",
    "cards",
    "board-game",
]
categories = [
    "games",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ImperialBower/gfcore.git"

[features]
default = ["history"]
history = [
    "dep:uuid",
    "dep:serde_norway",
]
wasm = [
    "dep:wasm-bindgen",
    "dep:console_error_panic_hook",
    "dep:getrandom",
]

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

[[test]]
name = "game_integration"
path = "tests/game_integration.rs"

[[test]]
name = "history_integration"
path = "tests/history_integration.rs"

[[test]]
name = "wasm"
path = "tests/wasm.rs"

[dependencies.cardpack]
version = "0.7.0"

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
optional = true

[dependencies.log]
version = "0.4"

[dependencies.mutants]
version = "0.0.3"

[dependencies.rand]
version = "0.9"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_norway]
version = "0.9.42"
optional = true

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

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dev-dependencies.serde_json]
version = "1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
    "v4",
    "js",
]
optional = true

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
