2018-02-10 01:00:55 +01: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 11:40:25 +02:00
|
|
|
rocket = { version = "0.3.8", features = ["tls"] }
|
|
|
|
rocket_codegen = "0.3.8"
|
|
|
|
rocket_contrib = "0.3.8"
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# HTTP client
|
2018-02-18 19:14:25 +01:00
|
|
|
reqwest = "0.8.5"
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# multipart/form-data support
|
2018-03-01 14:36:39 +01:00
|
|
|
multipart = "0.14.2"
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# A generic serialization/deserialization framework
|
2018-03-21 00:08:46 +01:00
|
|
|
serde = "1.0.33"
|
|
|
|
serde_derive = "1.0.33"
|
|
|
|
serde_json = "1.0.12"
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# A safe, extensible ORM and Query builder
|
2018-03-07 18:41:34 +01: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-15 00:40:34 +01:00
|
|
|
diesel_migrations = { version = "1.1.0", features = ["sqlite"] }
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# Crypto library
|
2018-03-21 00:08:46 +01:00
|
|
|
ring = { version = "= 0.11.0", features = ["rsa_signing"] }
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# UUID generation
|
2018-03-21 00:08:46 +01:00
|
|
|
uuid = { version = "0.6.2", features = ["v4"] }
|
2018-02-10 01:00:55 +01: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-21 00:08:46 +01:00
|
|
|
jsonwebtoken = "= 4.0.0"
|
2018-02-10 01:00:55 +01:00
|
|
|
|
|
|
|
# A `dotenv` implementation for Rust
|
2018-03-01 14:36:39 +01:00
|
|
|
dotenv = { version = "0.11.0", default-features = false }
|
2018-02-10 01:00:55 +01: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
|