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-03-20 23:08:46 +00:00
|
|
|
serde = "1.0.33"
|
|
|
|
serde_derive = "1.0.33"
|
|
|
|
serde_json = "1.0.12"
|
2018-02-10 00:00:55 +00:00
|
|
|
|
|
|
|
# A safe, extensible ORM and Query builder
|
2018-03-07 17:41:34 +00: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 23:40:34 +00:00
|
|
|
diesel_migrations = { version = "1.1.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-03-20 23:08:46 +00:00
|
|
|
uuid = { version = "0.6.2", features = ["v4"] }
|
2018-02-10 00:00:55 +00: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 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
|