-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (42 loc) · 1.38 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
[package]
name = "notp"
version = "2.1.0"
authors = ["Taylan Dogan <doganntaylan@gmail.com>"]
edition = "2018"
description = "One Time Password Generator tool that is meant to be used on CLI."
license = "MIT"
repository = "https://github.com/kondanta/notp"
readme="README.md"
keywords= ["2fa", "otp", "2factor"]
categories = ["command-line-utilities"]
homepage = "https://github.com/kondanta/notp"
documentation = "https://docs.rs/notp"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["kv-store"]
# File based database
kv-store = ["kv"]
[dependencies]
structopt = { version = "0.3" }
dirs = "2.0"
ring = "0.16.12"
base32 = "0.4.0"
byteorder = "1.3.2"
magic-crypt = "3.0.0"
kv = { version = "0.20.2", optional = true }
rpassword = "4.0.5"
bytevec = "0.2.0"
version_check = "0.9.2"
otp = { git = "https://github.com/TimDumol/rust-otp" }
clipboard = "0.5.0"
[profile.dev]
# This isn't required for development builds, but makes development
# build behavior match release builds. To enable unwinding panics
# during development, simply remove this line.
opt-level = 0
panic = 'abort'
[profile.release]
opt-level = 3 # Optimize binary speed{preffered}. z for binary size
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic