# 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 = "miniorm" version = "0.4.1" authors = ["Cédric Meuter "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "a *very* simple ORM built on top of sqlx" homepage = "https://github.com/meuter/miniorm-rs" readme = "README.md" keywords = [ "sqlx", "orm", ] license = "MIT" repository = "https://github.com/meuter/miniorm-rs" [lib] name = "miniorm" path = "src/lib.rs" [[example]] name = "axum" path = "examples/axum/main.rs" [[example]] name = "pokemon" path = "examples/pokemon/main.rs" [[example]] name = "todo" path = "examples/todo/main.rs" [[example]] name = "transactions" path = "examples/transactions/main.rs" [[test]] name = "test_crud" path = "tests/test_crud.rs" [[test]] name = "test_rest" path = "tests/test_rest.rs" [dependencies.async-trait] version = "0.1.79" [dependencies.axum] version = "0.7.5" optional = true [dependencies.miniorm-macros] version = "0.4.1" [dependencies.serde] version = "1.0.197" optional = true [dependencies.sqlx] version = "0.7.4" [dev-dependencies.axum-test] version = "14.8.0" [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.iso_currency] version = "0.4.4" features = [ "serde", "with-serde", ] [dev-dependencies.rust_decimal] version = "1.34.3" [dev-dependencies.rust_decimal_macros] version = "1.34.2" [dev-dependencies.serde] version = "1.0.197" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.114" [dev-dependencies.serial_test] version = "3.0.0" [dev-dependencies.sqlx] version = "0.7.4" features = [ "runtime-tokio", "chrono", "rust_decimal", "sqlite", "postgres", "mysql", ] [dev-dependencies.time] version = "0.3.35" [dev-dependencies.tokio] version = "1.36.0" features = ["full"] [features] axum = [ "dep:axum", "serde", ] default = ["postgres"] full = [ "postgres", "sqlite", "mysql", "axum", ] integration_tests = [] mysql = ["sqlx/mysql"] postgres = ["sqlx/postgres"] serde = ["dep:serde"] sqlite = ["sqlx/sqlite"]