# 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 = "2018"
name = "rnacos"
version = "0.6.16"
authors = ["heqingpan <heqingpan@126.com>"]
build = false
exclude = [
    ".github/*",
    "book/*",
    "deploy/*",
    "doc/*",
    "docker/*",
    "proto/*",
    "tools/*",
    "sdk-examples/*",
    "CHANGELOG.md",
    "Dockerfile",
    "test_cluster.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nacos server re-implemented in Rust."
homepage = "https://github.com/heqingpan/rnacos"
documentation = "https://docs.rs/rnacos/latest"
readme = "README.md"
keywords = [
    "nacos",
    "rnacos",
    "registry",
    "config",
]
license = "Apache-2.0"
repository = "https://github.com/heqingpan/rnacos"

[features]
debug = []
default = []

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

[[bin]]
name = "rnacos"
path = "src/main.rs"

[dependencies.actix]
version = "0.13"

[dependencies.actix-http]
version = "3"

[dependencies.actix-multipart]
version = "0.6"

[dependencies.actix-multipart-derive]
version = "0.6"

[dependencies.actix-rt]
version = "2"

[dependencies.actix-web]
version = "4"

[dependencies.aes]
version = "0.8"

[dependencies.anyhow]
version = "1"

[dependencies.async-raft-ext]
version = "0.6.3"

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

[dependencies.base64]
version = "0.21.5"

[dependencies.bcrypt]
version = "0.15"

[dependencies.bean_factory]
version = "0.1.4"

[dependencies.binrw]
version = "0.13.3"

[dependencies.binrw_derive]
version = "0.13.3"

[dependencies.block-modes]
version = "0.8"

[dependencies.byteorder]
version = "1.4"

[dependencies.bytes]
version = "1"

[dependencies.captcha]
version = "0.0.9"

[dependencies.cbc]
version = "0.1.2"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.dotenv]
version = "0.15"

[dependencies.env_logger]
version = "0.11"

[dependencies.env_logger_timezone_fmt]
version = "0.1.1"

[dependencies.flate2]
version = "1.0"

[dependencies.futures-util]
version = "0.3.29"

[dependencies.inner-mem-cache]
version = "0.1.7"

[dependencies.lazy_static]
version = "1.4"

[dependencies.log]
version = "0.4"

[dependencies.mimalloc]
version = "0.1"
features = ["secure"]

[dependencies.mime]
version = "0.3"

[dependencies.mime_guess]
version = "2"

[dependencies.nacos_rust_client]
version = "0.3.2"

[dependencies.parse-size]
version = "=1.0.0"

[dependencies.prost]
version = "0.7"

[dependencies.prost-derive]
version = "0.7"

[dependencies.prost-types]
version = "0.7"

[dependencies.quick-protobuf]
version = "0.8.1"

[dependencies.ratelimiter-rs]
version = "0.1.5"

[dependencies.regex]
version = "1"

[dependencies.rnacos-web-dist-wrap]
version = "=0.6.0"

[dependencies.rsql_builder]
version = "0.1.5"

[dependencies.rusqlite]
version = "0.25"
features = ["bundled"]

[dependencies.rust-crypto]
version = "0.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.sled]
version = "0.34"

[dependencies.sysinfo]
version = "0.30.12"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1.0.20"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tonic]
version = "0.4"

[dependencies.tracing]
version = "0.1.29"

[dependencies.tracing-subscriber]
version = "0.3.0"
features = ["env-filter"]

[dependencies.uuid]
version = "1.2.1"
features = [
    "v4",
    "fast-rng",
    "macro-diagnostics",
]

[dependencies.zip]
version = "0.6"

[build-dependencies]

[target.'cfg(any(target_os = "linux", target_os = "macos", target_os="windows"))'.dependencies.bitflags]
version = "2.6.0"

[target.'cfg(any(target_os = "linux", target_os = "macos", target_os="windows"))'.dependencies.dirs]
version = "5.0"

[target.'cfg(any(target_os = "linux", target_os = "macos", target_os="windows"))'.dependencies.fs2]
version = "0.4.3"

[target.'cfg(any(target_os = "linux", target_os = "macos", target_os="windows"))'.dependencies.sqlx]
version = "0.6"
features = [
    "runtime-tokio-rustls",
    "mysql",
]

[profile.release]
