2018-02-09 19:00:55 -05: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 05:40:25 -04:00
|
|
|
rocket = { version = "0.3.8", features = ["tls"] }
|
|
|
|
rocket_codegen = "0.3.8"
|
|
|
|
rocket_contrib = "0.3.8"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# HTTP client
|
2018-02-18 13:14:25 -05:00
|
|
|
reqwest = "0.8.5"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# multipart/form-data support
|
2018-03-01 08:36:39 -05:00
|
|
|
multipart = "0.14.2"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# A generic serialization/deserialization framework
|
2018-04-18 06:17:25 -04:00
|
|
|
serde = "1.0.39"
|
|
|
|
serde_derive = "1.0.39"
|
|
|
|
serde_json = "1.0.15"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# A safe, extensible ORM and Query builder
|
2018-04-18 06:17:25 -04:00
|
|
|
diesel = { version = "1.2.2", features = ["sqlite", "chrono", "r2d2"] }
|
|
|
|
diesel_migrations = { version = "1.2.0", features = ["sqlite"] }
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# Crypto library
|
2018-03-20 19:08:46 -04:00
|
|
|
ring = { version = "= 0.11.0", features = ["rsa_signing"] }
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# UUID generation
|
2018-04-18 06:17:25 -04:00
|
|
|
uuid = { version = "0.6.3", features = ["v4"] }
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# Date and time library for Rust
|
2018-04-18 06:17:25 -04:00
|
|
|
chrono = "0.4.2"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# TOTP library
|
|
|
|
oath = "0.10.2"
|
|
|
|
|
|
|
|
# Data encoding library
|
|
|
|
data-encoding = "2.1.1"
|
|
|
|
|
|
|
|
# JWT library
|
2018-03-20 19:08:46 -04:00
|
|
|
jsonwebtoken = "= 4.0.0"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# A `dotenv` implementation for Rust
|
2018-03-01 08:36:39 -05:00
|
|
|
dotenv = { version = "0.11.0", default-features = false }
|
2018-02-09 19:00:55 -05: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
|