Sepparated the code out into 3 more library crates: cryptography, entity and pass_manager

This commit is contained in:
2023-06-01 14:42:35 +03:00
parent c40ffafd69
commit cda07b4d84
46 changed files with 360 additions and 268 deletions

View File

@@ -9,26 +9,22 @@ edition = "2021"
strip = true
[workspace]
members = [".", "migration"]
members = [".", "migration", "entity", "cryptography"]
[dependencies]
anyhow = "1.0.71"
arrayvec = "0.7.2"
bitflags = "2.3.1"
chacha20poly1305 = { version = "0.10.1", features = ["std"] }
cryptography = { version = "0.1.0", path = "cryptography" }
dotenv = "0.15.0"
entity = { version = "0.1.0", path = "entity" }
futures = "0.3.28"
itertools = "0.10.5"
log = "0.4.17"
migration = { version = "0.2.0", path = "migration" }
pbkdf2 = "0.12.1"
pretty_env_logger = "0.5.0"
rand = { version = "0.8.5", default-features = false, features = ["std_rng"] }
scrypt = { version = "0.11.0", default-features = false, features = ["std"] }
sea-orm = { version = "0.11.3", features = ["sqlx-mysql", "runtime-tokio-rustls"] }
serde = "1.0.163"
serde_json = "1.0.96"
sha2 = "0.10.6"
teloxide = { version = "0.12.2", features = ["macros", "ctrlc_handler", "rustls", "throttle"], default-features = false }
thiserror = "1.0.40"
tokio = { version = "1.28.1", features = ["macros", "rt-multi-thread"] }