# 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" rust-version = "1.59.0" name = "mybatis" version = "2.0.4" authors = ["James Zow "] description = "mybatis" homepage = "https://github.com/summer-rust/summer-mybatis#readme" documentation = "https://github.com/summer-rust/summer-mybatis#readme" readme = "README.md" keywords = [ "mybatis", "orm", "postgres", "mysql", "sqlite", ] license = "Apache-2.0" repository = "https://github.com/summer-rust/summer-mybatis" resolver = "1" [profile.release] opt-level = 3 lto = true codegen-units = 1 [dependencies.async-trait] version = "0.1.53" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.futures] version = "0.3" [dependencies.futures-core] version = "0.3" [dependencies.hex] version = "0.4" [dependencies.log] version = "0.4" default-features = false [dependencies.mybatis-core] version = "2.0.1" optional = true default-features = false [dependencies.mybatis-macro] version = "2.0.3" optional = true default-features = false [dependencies.mybatis-sql] version = "2.0.1" optional = true default-features = false [dependencies.mybatis-util] version = "2.0.0" default-features = false [dependencies.once_cell] version = "1.10" [dependencies.rand] version = "0.8" [dependencies.rbson] version = "2.0.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.uuid] version = "0.8" features = [ "serde", "v4", ] [dev-dependencies.serde_json] version = "1" [features] all-database = [ "default_mode", "mybatis-core/all-database", ] debug_mode = [ "mybatis-core/debug_mode", "mybatis-macro/debug_mode", "mybatis-sql/debug_mode", ] default = [ "default_mode", "all-database", ] default_mode = [ "mybatis-core", "mybatis-macro", "mybatis-sql", ] format_bson = ["mybatis-core/format_bson"] mssql = [ "default_mode", "mybatis-core/mssql", ] mysql = [ "default_mode", "mybatis-core/mysql", ] postgres = [ "default_mode", "mybatis-core/postgres", ] runtime-actix-native-tls = ["mybatis-core/runtime-actix-native-tls"] runtime-actix-rustls = ["mybatis-core/runtime-actix-rustls"] runtime-async-std-native-tls = ["mybatis-core/runtime-async-std-native-tls"] runtime-async-std-rustls = ["mybatis-core/runtime-async-std-rustls"] runtime-tokio-native-tls = ["mybatis-core/runtime-tokio-native-tls"] runtime-tokio-rustls = ["mybatis-core/runtime-tokio-rustls"] sqlite = [ "default_mode", "mybatis-core/sqlite", ] upper_case_sql_keyword = []