# 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 = "tagged-core"
version = "0.8.0"
authors = ["Codefonsi <info@codefonsi.com>"]
build = false
exclude = [
    "examples/**/*",
    "tests/**/*",
    "benches/**/*",
    "README.md",
    ".DS_Store",
    ".idea/**/*",
    "**/*_test.rs",
    "**/*_tests.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight tagged type abstraction for type-safe IDs, etc."
homepage = "https://github.com/akashsoni01/rust-tagged"
documentation = "https://docs.rs/rust-tagged"
readme = "README.md"
keywords = [
    "tagged",
    "id",
    "type-safe",
    "newtype",
    "tagged-union",
]
categories = ["data-structures"]
license = "MPL-2.0"
repository = "https://github.com/akashsoni01/rust-tagged"

[features]
default = []
full = ["serde"]
scylla = ["dep:scylla"]
serde = ["dep:serde"]

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

[dependencies.scylla]
version = "0.13"
features = ["full-serialization"]
optional = true

[dependencies.serde]
version = "1.0.210"
features = [
    "derive",
    "rc",
]
optional = true

[dev-dependencies.chrono]
version = "0.4.41"

[dev-dependencies.scylla]
version = "0.13"
features = ["full-serialization"]

[dev-dependencies.serde]
version = "1.0.210"
features = [
    "derive",
    "rc",
]

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

[dev-dependencies.tokio]
version = "1.46.1"
features = ["rt-multi-thread"]

[dev-dependencies.uuid]
version = "1.6"
features = ["v4"]
