[package] name = "typesafe_repository" description = "Abstract data persistence in a safe and unified way" version = "0.5.6" edition = "2021" license = "MIT" keywords = [ "repository", "database" ] categories = [ "database", "web-programming" ] authors = [ "Aliaksei Saladukhin " ] repository = "https://gitlab.com/studiedlist/typesafe_repository" [features] default = ["transactional", "macros", "inmemory", "async"] transactional = ["dep:frunk"] serde = ["dep:serde"] actix = ["dep:actix"] macros = ["dep:typesafe_repository_macro"] async = ["dep:concat-idents"] inmemory = [] [dependencies] async-trait = "^0.1" frunk = { version = "^0.4", default-features = false, optional = true } actix = { version = "^0.13", default-features = false, optional = true } tokio = { version = "^1.21", default-features = false, features = [ "sync" ] } futures = { version = "^0.3", default-features = false, features = [ "executor" ] } typesafe_repository_macro = { version = "0.3", optional = true } serde = { version = "^1.0", optional = true, default-features = false } log = "^0.4" concat-idents = { version = "1.1.4", optional = true } [dev-dependencies] derive_more = "0.99.17" once_cell = "1.16.0" tokio = { version = "^1.21", default-features = false, features = [ "macros", "rt-multi-thread" ] } typesafe_repository_macro = "0.3"