0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-14 22:12:03 +01:00
bitwarden_rs/src/api
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
..
core Track favorites on a per-user basis 2020-08-19 02:32:58 -07:00
admin.rs Add support for multiple simultaneous database features by using macros. 2020-08-24 20:11:17 +02:00
icons.rs Replace IP support in preparation for compiling on stable, included some tests to check that the code matches the unstable implementation 2020-07-15 00:00:03 +02:00
identity.rs Remove redundant user fetching from login 2020-08-11 16:48:15 +02:00
mod.rs Removed try_trait and some formatting, particularly around imports 2020-07-14 18:34:22 +02:00
notifications.rs Removed try_trait and some formatting, particularly around imports 2020-07-14 18:34:22 +02:00
web.rs Removed try_trait and some formatting, particularly around imports 2020-07-14 18:34:22 +02:00