cc-core 0.2.0

A core library for configuration, MySQL and Redis connection management
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 = "cc-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A core library for configuration, MySQL and Redis connection management"
readme = "README.md"
keywords = [
    "config",
    "mysql",
    "redis",
    "database",
]
categories = [
    "database",
    "config",
]
license = "MIT"
repository = "https://github.com/gitcn99/awrust"

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.redis]
version = "1"
features = [
    "tokio-comp",
    "connection-manager",
]
default-features = false

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

[dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "tls-rustls",
    "mysql",
]
default-features = false

[dependencies.toml]
version = "1.1.2"

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