# 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 = "cdumay_core"
version = "0.1.2"
authors = ["Cédric Dumay <cedric.dumay@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust Library for standard code"
homepage = "https://github.com/cdumay/cdumay_core"
documentation = "https://docs.rs/cdumay_core"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/cdumay/cdumay_core"

[package.metadata.docs.rs]
all-features = true

[features]
actix-web = ["dep:actix-web"]
default = []
utoipa = [
    "dep:utoipa",
    "dep:serde_json",
]

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

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

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

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

[dependencies.actix-web]
version = "4.11"
optional = true

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

[dependencies.serde-value]
version = "0.7"

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.utoipa]
version = "5.3"
optional = true
