-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
54 lines (48 loc) · 1.77 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "tindercrypt"
version = "0.3.3"
authors = ["Alex Pyrgiotis <[email protected]>"]
edition = "2018"
license = "MPL-2.0"
description = """
Data encryption with symmetric cryptographic keys or passwords/passphrases,
and self-contained encryption metadata
"""
homepage = "https://github.com/apyrgio/tindercrypt"
repository = "https://github.com/apyrgio/tindercrypt"
documentation = "https://docs.rs/tindercrypt"
readme = "README.md"
keywords = ["protocol-buffers", "cryptography", "encryption"]
categories = ["command-line-utilities", "cryptography"]
[dependencies]
protobuf = "3"
rand = "0.8"
# XXX: There are no stable versions of `ring` [1], meaning that we must always
# compile the newest version to ensure that the latest security patches are
# there. However, this means that our library may break whenever `ring` changes
# its API. We'll pin the `ring` version for now, but we have to find a way to
# deal with this at some point.
#
# [1]: https://github.com/briansmith/ring#versioning--stability
ring = "0.17"
thiserror = "1"
zeroize = "1"
# NOTE: The following dependencies are required only for the CLI version of the
# crate, and are only included if the `cli` feature is enabled. See also
# https://github.com/rust-lang/cargo/issues/1982, for the current state of
# binary-only dependencies in `cargo`.
clap = { version = "2", optional = true }
dialoguer = { version = "0.8", optional = true }
lazy_static = { version = "1", optional = true }
[dev-dependencies]
assert_cmd = "2"
assert_fs = "1"
predicates = "3"
[build-dependencies]
protobuf-codegen= { version = "3", optional = true }
[features]
default = ["cli"]
# Dependencies needed specifically for the CLI.
cli = ["clap", "dialoguer", "lazy_static"]
# Generate Rust code from .proto files.
proto-gen = ["protobuf-codegen"]