dnd_lib 1.0.0

Dungeons & Dragons character building and management library
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 = "dnd_lib"
version = "1.0.0"
authors = ["YellowCoat1 <jasond3663@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dungeons & Dragons character building and management library"
readme = "README.md"
keywords = [
    "dnd",
    "dnd-character",
    "dungeons-and-dragons",
    "dnd5eapi",
    "character-sheet",
]
categories = [
    "data-structures",
    "game-development",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/YellowCoat1/dnd_lib"

[package.metadata.docs.rs]
features = ["dnd5eapi"]

[features]
default = [
    "dnd5eapi",
    "item_list",
]
disk-tests = []
dnd5eapi = ["tokio"]
integration = [
    "disk-tests",
    "network-intensive-tests",
]
item_list = ["dnd5eapi"]
network-intensive-tests = ["dnd5eapi"]

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

[[example]]
name = "multiclassing"
path = "examples/multiclassing.rs"

[[example]]
name = "simple_character"
path = "examples/simple_character.rs"

[[example]]
name = "spellcasting"
path = "examples/spellcasting.rs"

[[example]]
name = "spellcasting_multiclass"
path = "examples/spellcasting_multiclass.rs"

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

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

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

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

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

[dependencies.futures]
version = "0.3.31"

[dependencies.heck]
version = "0.5.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.12.15"
features = [
    "http2",
    "charset",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1.0.219"
features = [
    "std",
    "derive",
]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.45.0"
features = [
    "macros",
    "rt-multi-thread",
]
optional = true