entity-core 0.6.0

Core traits and types for entity-derive
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 = "2024"
rust-version = "1.95"
name = "entity-core"
version = "0.6.0"
authors = ["RAprogramm <andrey.rozanov.vl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits and types for entity-derive"
documentation = "https://docs.rs/entity-core"
readme = "README.md"
keywords = [
    "entity",
    "repository",
    "traits",
    "database",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/RAprogramm/entity-derive"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
clickhouse = []
default = []
mongodb = []
postgres = ["sqlx"]
streams = [
    "serde",
    "serde_json",
    "futures",
]
tracing = ["dep:tracing"]

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

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

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

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

[dependencies.sqlx]
version = "0.8"
features = ["postgres"]
optional = true
default-features = false

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]