# 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 = "derive-sql" version = "0.12.1" description = "Structure the interaction with SQL databases - currently SQLite and MySQL via trait and a procedural macro" readme = "README.md" license = "MIT" repository = "https://github.com/juliendecharentenay/derive-sql" [package.metadata.docs.rs] features = [ "sqlite", "mysql", "compatibility_v0_10", ] [lib] [dependencies.chrono] version = "0" [dependencies.derive-sql-mysql] version = "0" optional = true [dependencies.derive-sql-sqlite] version = "0" optional = true [dependencies.derive-sql-statement] version = "0" [dependencies.enum_dispatch] version = "0" [dependencies.fallible-iterator] version = "0" optional = true [dependencies.log] version = "0" [dependencies.mysql] version = "25" optional = true [dependencies.mysql_common] version = "0" features = ["chrono"] optional = true [dependencies.rusqlite] version = "0" features = [ "vtab", "chrono", ] optional = true [dependencies.thiserror] version = "1" [dev-dependencies.mockall] version = "0" [features] compatibility_v0_10 = [ "derive-sql-mysql", "derive-sql-sqlite", ] default = [] mysql = [ "dep:mysql", "mysql_common", "derive-sql-mysql", ] sqlite = [ "rusqlite", "derive-sql-sqlite", "fallible-iterator", ]