# 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 = "mysql-connector" version = "0.0.3" authors = [ "Untbu", "Comet1903", ] exclude = ["/.github"] description = "Simple MySQL connector that allows exchanging the underlying connection" readme = "README.md" categories = ["database"] license = "MIT" repository = "https://github.com/riseupgroup/mysql-connector" [package.metadata.docs.rs] all-features = true [dependencies.base64] version = "0.22.1" optional = true [dependencies.bitflags] version = "2.5.0" [dependencies.btoi] version = "0.4.3" [dependencies.bytes] version = "1.6.0" [dependencies.chrono] version = "0.4.38" [dependencies.crossbeam] version = "0.8.4" [dependencies.hex] version = "0.4.3" [dependencies.lazy_static] version = "1.4.0" [dependencies.mysql-connector-macros] version = "=0.0.3" [dependencies.num] version = "0.4.3" optional = true [dependencies.paste] version = "1.0.15" [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde] version = "1.0.203" optional = true [dependencies.sha1] version = "0.10.6" [dependencies.sha2] version = "0.10.6" optional = true [dependencies.tokio] version = "1.38.0" features = [ "sync", "io-util", ] [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.tokio] version = "1.38.0" features = [ "sync", "io-util", "macros", "rt-multi-thread", ] [features] caching-sha2-password = [ "dep:sha2", "dep:num", "dep:rand", "dep:base64", "dep:getrandom", ] default = [ "tcpstream", "caching-sha2-password", "time", ] serde = ["dep:serde"] tcpstream = ["tokio/net"] time = ["tokio/time"] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2.15" features = ["js"] optional = true