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.
|
|
|
|
rocket = { version = "0.3.6", features = ["tls"] }
|
|
|
|
rocket_codegen = "0.3.6"
|
|
|
|
rocket_contrib = "0.3.6"
|
|
|
|
|
|
|
|
# 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-03-20 19:08:46 -04:00
|
|
|
serde = "1.0.33"
|
|
|
|
serde_derive = "1.0.33"
|
|
|
|
serde_json = "1.0.12"
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# A safe, extensible ORM and Query builder
|
2018-03-07 12:41:34 -05:00
|
|
|
# "large-tables" is needed for tables with more than 16 columns, the next version of diesel will
|
|
|
|
# default to 32 column tables by default and deprecate large-tables, so remove this when updating
|
|
|
|
diesel = { version = "1.1.1", features = ["sqlite", "chrono", "r2d2", "large-tables"] }
|
2018-02-14 18:40:34 -05:00
|
|
|
diesel_migrations = { version = "1.1.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-03-20 19:08:46 -04:00
|
|
|
uuid = { version = "0.6.2", features = ["v4"] }
|
2018-02-09 19:00:55 -05:00
|
|
|
|
|
|
|
# Date and time library for Rust
|
|
|
|
chrono = "0.4.0"
|
|
|
|
|
|
|
|
# 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
|