This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
forked from magic-wormhole/magic-wormhole.rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
73 lines (64 loc) · 2.4 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "magic-wormhole"
version = "0.1.0"
authors = ["Brian Warner <[email protected]>"]
license = "MIT"
homepage = "http://magic-wormhole.io/"
repository = "https://github.com/warner/magic-wormhole.rs"
edition = "2018"
description = "Get things from one computer to another, safely"
readme = "README.md"
# the MSRV is: rust-1.42.0
# * rustyline-derive-0.3.1 needs 1.42: 'use proc_macro' without 'extern crate proc_macro'
# * rustyline-6.0 needs 1.40: #[non_exhaustive]
# * xsalsa20poly1305-0.3.1 needs 1.37: copy_within
# * sodiumoxide-0.2.4 needs 1.36: mem::MaybeUninit
[badges]
travis-ci = { repository = "warner/magic-wormhole.rs" }
[dependencies]
serde = { version = "1.0", features = ["rc"] }
serde_json = "1.0"
serde_derive = "1.0"
xsalsa20poly1305 = "0.6"
spake2 = "0.2.0"
sha2 = "0.9.1"
hkdf = "0.9.0"
hex = "0.4"
rand = "0.7"
regex = "1.4.1"
log = "0.4"
zeroize = { version = "1.1", features = ["zeroize_derive"] }
sodiumoxide = "0.2.6"
pnet = "0.26.0"
byteorder = "1.3.4"
anyhow = "1.0.33"
futures = { version = "0.3.8" }
async-std = { version = "1.8.0", features = ["attributes"] }
async-tungstenite = { version = "0.10.0", features = ["async-std-runtime"] }
pin-project = "1.0.2"
# for "bin" feature
clap = { version = "2.33.3", optional = true }
env_logger = { version = "0.8.1", optional = true }
[patch.crates-io]
# Remove for 0.4.0
futures = { rev = "d1acd71dcd2ae696036839c765f5c84e05b51c44", git = "https://github.com/rust-lang/futures-rs" }
futures-core = { rev = "d1acd71dcd2ae696036839c765f5c84e05b51c44", git = "https://github.com/rust-lang/futures-rs" }
futures-io = { rev = "d1acd71dcd2ae696036839c765f5c84e05b51c44", git = "https://github.com/rust-lang/futures-rs" }
futures-util = { rev = "d1acd71dcd2ae696036839c765f5c84e05b51c44", git = "https://github.com/rust-lang/futures-rs" }
futures-sink = { rev = "d1acd71dcd2ae696036839c765f5c84e05b51c44", git = "https://github.com/rust-lang/futures-rs" }
# for some tests
[dev-dependencies]
env_logger = "0.8.1"
[features]
bin = ["clap", "env_logger"]
# TODO remove this one day
# - Removing it now requires all cargo calls to have --features=bin which is annoying
# - There is a cargo issue that would allow proper bin dependencies and thus would resolve it
# - We could separate bin and lib into separate workspace projects
default = ["bin"]
[[bin]]
name = "wormhole"
path = "src/bin/main.rs"
required-features = ["bin"]
[profile.release]
overflow-checks = true