bitwarden_rs/src
Daniel García 0365b7c6a4
Add support for multiple simultaneous database features by using macros.
Diesel requires the following changes:
- Separate connection and pool types per connection, the generate_connections! macro generates an enum with a variant per db type
- Separate migrations and schemas, these were always imported as one type depending on db feature, now they are all imported under different module names
- Separate model objects per connection, the db_object! macro generates one object for each connection with the diesel macros, a generic object, and methods to convert between the connection-specific and the generic ones
- Separate connection queries, the db_run! macro allows writing only one that gets compiled for all databases or multiple ones
2020-08-24 20:11:17 +02:00
..
api Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
db Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
static Sync global_domains.json to bitwarden/server@8383a08 (Yandex) 2020-08-20 03:31:21 -07:00
auth.rs Updated dependencies and changed rocket request imports 2020-07-23 21:07:04 +02:00
config.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
crypto.rs Generate tokens more simply and uniformly 2020-08-22 16:07:53 -07:00
error.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
mail.rs Removed try_trait and some formatting, particularly around imports 2020-07-14 18:34:22 +02:00
main.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
util.rs Use `strip_prefix()` instead of `trim_start_matches()` as appropriate 2020-07-20 22:33:13 -07:00