# 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 = "cherry" version = "0.4.0" authors = ["oobot "] description = "A Rust async ORM, support for MySQL, PostgreSQL and SQLite." readme = "README.md" keywords = [ "ORM", "MySQL", "PostgreSQL", "SQLite", ] license = "MIT OR Apache-2.0" repository = "https://github.com/oobot/cherry" resolver = "1" [lib] required-features = [] [[test]] name = "derive_test" path = "tests/derive_test.rs" required-features = [ "mysql", "sqlite", "runtime-async-std-rustls", ] [[test]] name = "insert_test" path = "tests/insert_test.rs" required-features = [ "mysql", "sqlite", "chrono", "json", "runtime-async-std-rustls", ] [[test]] name = "select_test" path = "tests/select_test.rs" required-features = [ "mysql", "sqlite", "json", "runtime-async-std-rustls", ] [dependencies.anyhow] version = "1.0.66" [dependencies.cherry-derive] version = "0.4.0" [dependencies.futures-core] version = "0.3.25" [dependencies.sqlx] version = "0.6.2" [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.chrono] version = "0.4.23" [dev-dependencies.sqlx] version = "0.6.2" features = [ "all-databases", "runtime-async-std-rustls", ] [features] all = [ "tls", "all-databases", "all-types", ] all-databases = [ "mysql", "sqlite", "postgres", ] all-types = [ "bigdecimal", "decimal", "json", "time", "chrono", "ipnetwork", "mac_address", "uuid", "bit-vec", "bstr", "git2", ] bigdecimal = ["sqlx/bigdecimal"] bit-vec = ["sqlx/bit-vec"] bstr = ["sqlx/bstr"] chrono = ["sqlx/chrono"] decimal = ["sqlx/decimal"] default = ["sqlx/default"] git2 = ["sqlx/git2"] ipnetwork = ["sqlx/ipnetwork"] json = ["sqlx/json"] mac_address = ["sqlx/mac_address"] macros = ["sqlx/sqlx-macros"] migrate = ["sqlx/migrate"] mysql = [ "sqlx/mysql", "cherry-derive/mysql", ] offline = ["sqlx/offline"] postgres = [ "sqlx/postgres", "cherry-derive/postgres", ] runtime-actix-native-tls = ["sqlx/runtime-actix-native-tls"] runtime-actix-rustls = ["sqlx/runtime-actix-rustls"] runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls"] runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls"] runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls"] runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"] sqlite = [ "sqlx/sqlite", "cherry-derive/sqlite", ] time = ["sqlx/time"] tls = ["sqlx/tls"] uuid = ["sqlx/uuid"]