# 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 = "ydb-unofficial" version = "0.6.7" description = "Unofficial Ydb client library written on rust" readme = "README.md" keywords = [ "database", "db", "ydb", "sqlx", ] license = "Apache-2.0" repository = "https://github.com/bool-rus/ydb-unofficial" [package.metadata.docs.rs] features = [ "pool", "auth-sa", "auth-cli", "sqlx", "migrate", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] doctest = true [dependencies.async-trait] version = "0.1.72" optional = true [dependencies.ctor] version = "0.2.0" [dependencies.deadpool] version = "0.9.5" optional = true [dependencies.futures] version = "0.3.28" optional = true [dependencies.jwt-simple] version = "0.11.6" optional = true [dependencies.log] version = "0.4.17" [dependencies.nom] version = "7.1.3" optional = true [dependencies.prost] version = "0.11.2" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.171" optional = true [dependencies.serde_json] version = "1.0.102" optional = true [dependencies.sqlx-core] version = "=0.7.1" features = ["_rt-tokio"] optional = true [dependencies.thiserror] version = "1.0.40" [dependencies.tokio] version = "1.29.1" [dependencies.tonic] version = "0.9.2" [dependencies.tower] version = "0.4.13" [dependencies.yandex-cloud] version = "2023.6.13" optional = true [dependencies.ydb-grpc-bindings] version = "0.0.1" [dev-dependencies.tokio] version = "1.29.1" features = ["full"] [features] auth-cli = ["tokio/process"] auth-sa = [ "dep:yandex-cloud", "dep:jwt-simple", "dep:serde", "dep:serde_json", ] migrate = [ "sqlx", "sqlx-core/migrate", ] pool = [ "dep:deadpool", "dep:async-trait", ] sqlx = [ "dep:sqlx-core", "dep:futures", "dep:nom", ]