# 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 = "arel" version = "0.3.8" authors = ["sanmu <578595193@qq.com>"] exclude = ["/example"] description = "a sql orm base sqlx" homepage = "https://github.com/rust-china/arel" readme = "README.md" keywords = [ "async", "orm", "sqlite", "mysql", "postgres", ] categories = ["database"] license = "MIT OR Apache-2.0" [package.metadata.docs.rs] features = ["sqlite"] [dependencies.anyhow] version = "1.0" [dependencies.arel-macros] version = "0.3.8" [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.chrono] version = "0.4" features = ["serde"] optional = true [dependencies.once_cell] version = "1.18" [dependencies.regex] version = "1.9" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.sqlx] version = "0.7" [dependencies.thiserror] version = "1.0" [dependencies.uuid] version = "1" optional = true [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [ "with-json", "with-chrono", ] mysql = ["sqlx/mysql"] postgres = ["sqlx/postgres"] runtime-async-std = ["sqlx/runtime-async-std"] runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls"] runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls"] runtime-tokio = ["sqlx/runtime-tokio"] runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls"] runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"] sqlite = ["sqlx/sqlite"] tls-native-tls = ["sqlx/tls-native-tls"] tls-rustls = ["sqlx/tls-rustls"] with-chrono = [ "chrono", "sqlx/chrono", ] with-json = [ "serde_json", "bytes/serde", "chrono?/serde", "uuid?/serde", "sqlx/json", ]