2018-02-10 00:00:55 +00:00
|
|
|
[package]
|
|
|
|
name = "bitwarden_rs"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Daniel García <dani-garcia@users.noreply.github.com>"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Web framework for nightly with a focus on ease-of-use, expressibility, and speed.
|
2018-04-18 09:40:25 +00:00
|
|
|
rocket = { version = "0.3.8", features = ["tls"] }
|
|
|
|
rocket_codegen = "0.3.8"
|
|
|
|
rocket_contrib = "0.3.8"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# HTTP client
|
2018-02-18 18:14:25 +00:00
|
|
|
reqwest = "0.8.5"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# multipart/form-data support
|
2018-03-01 13:36:39 +00:00
|
|
|
multipart = "0.14.2"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# A generic serialization/deserialization framework
|
2018-04-18 10:17:25 +00:00
|
|
|
serde = "1.0.39"
|
|
|
|
serde_derive = "1.0.39"
|
|
|
|
serde_json = "1.0.15"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# A safe, extensible ORM and Query builder
|
2018-04-18 10:17:25 +00:00
|
|
|
diesel = { version = "1.2.2", features = ["sqlite", "chrono", "r2d2"] }
|
|
|
|
diesel_migrations = { version = "1.2.0", features = ["sqlite"] }
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# Crypto library
|
2018-03-20 23:08:46 +00:00
|
|
|
ring = { version = "= 0.11.0", features = ["rsa_signing"] }
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# UUID generation
|
2018-04-18 10:17:25 +00:00
|
|
|
uuid = { version = "0.6.3", features = ["v4"] }
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# Date and time library for Rust
|
2018-04-18 10:17:25 +00:00
|
|
|
chrono = "0.4.2"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# TOTP library
|
|
|
|
oath = "0.10.2"
|
|
|
|
|
|
|
|
# Data encoding library
|
|
|
|
data-encoding = "2.1.1"
|
|
|
|
|
|
|
|
# JWT library
|
2018-03-20 23:08:46 +00:00
|
|
|
jsonwebtoken = "= 4.0.0"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# A `dotenv` implementation for Rust
|
2018-03-01 13:36:39 +00:00
|
|
|
dotenv = { version = "0.11.0", default-features = false }
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# Lazy static macro
|
|
|
|
lazy_static = "1.0.0"
|
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
jsonwebtoken = { path = "libs/jsonwebtoken" } # Make jwt use ring 0.11, to match rocket
|