comparison rust/Cargo.toml @ 639:89818a14648b rust tip

- switch to using anyhow for errors, surf for http runs but surf has problems
author Matt Johnston <matt@ucc.asn.au>
date Thu, 28 Nov 2019 23:57:00 +0800
parents 1e147b3c2c55
children
comparison
equal deleted inserted replaced
638:a9f353f488d0 639:89818a14648b
20 structopt = "0.3" 20 structopt = "0.3"
21 config = "0.9" 21 config = "0.9"
22 anyhow = "1.0" 22 anyhow = "1.0"
23 23
24 # alpha for async 24 # alpha for async
25 hyper = "=0.13.0-alpha.1" 25 futures = "0.3"
26 futures-preview = "=0.3.0-alpha.18" 26 #futures = "=0.3.0-alpha.18"
27 futures-util-preview = "=0.3.0-alpha.18" 27 #futures-util-preview = "=0.3.0-alpha.18"
28
29 async-std = "0.99"
30 # XXX use hyper-client to workaround https://github.com/http-rs/surf/issues/72
31 # surf = { version = "1.0", features = ["hyper-client"] }
32 surf = "1.0"
28 33
29 [target.'cfg(target_os = "linux")'.dependencies] 34 [target.'cfg(target_os = "linux")'.dependencies]
30 sysfs_gpio = "0.5" 35 sysfs_gpio = "0.5"