# 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 = "micro_types"
version = "0.2.3"
description = "Types for distributed systems"
homepage = "https://github.com/rust-micro/types"
documentation = "https://docs.rs/micro_types"
readme = "README.md"
keywords = [
    "micro",
    "distributed",
    "type",
    "redis",
]
categories = [
    "network-programming",
    "data-structures",
    "database",
]
license-file = "LICENSE.md"
repository = "https://github.com/rust-micro/types"

[lib]
name = "dtypes"

[[example]]
name = "2services"
path = "examples/2services.rs"

[dependencies.redis]
version = "0.23.3"
features = ["script"]
optional = true

[dependencies.serde]
version = "1.0.188"
features = []
optional = true

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

[dependencies.thiserror]
version = "1.0.48"

[features]
default = ["redis"]
redis = [
    "dep:redis",
    "dep:serde_json",
    "dep:serde",
]
