# 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 = "opensrv-mysql" version = "0.7.0" authors = ["Databend Authors "] description = "Bindings for emulating a MySQL/MariaDB server." readme = "README.md" keywords = [ "api-bindings", "database", "sql", "mock", ] categories = [ "api-bindings", "network-programming", "database-implementations", ] license = "Apache-2.0" repository = "https://github.com/datafuselabs/opensrv" [lib] doctest = false [[example]] name = "serve_auth" path = "examples/serve_auth.rs" [[example]] name = "serve_one" path = "examples/serve_one.rs" [[example]] name = "serve_secure" path = "examples/serve_secure.rs" [dependencies.async-trait] version = "0.1.52" [dependencies.byteorder] version = "1.4.3" [dependencies.chrono] version = "0.4.20" [dependencies.mysql_common] version = "0.32.0" features = ["chrono"] [dependencies.nom] version = "7.1.0" [dependencies.pin-project-lite] version = "0.2.9" optional = true [dependencies.tokio] version = "1.17.0" features = [ "io-util", "io-std", ] [dependencies.tokio-rustls] version = "0.25" optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.mysql] version = "=24.0.0" [dev-dependencies.mysql_async] version = "=0.31.0" [dev-dependencies.native-tls] version = "0.2.8" [dev-dependencies.rcgen] version = "0.12" [dev-dependencies.rustls-pemfile] version = "2.0" [dev-dependencies.rustls-pki-types] version = "1.0" [dev-dependencies.tempfile] version = "3.3.0" [dev-dependencies.tokio] version = "1.0" features = ["full"] [features] default = ["tls"] tls = [ "tokio-rustls", "pin-project-lite", ]