Mercurial > templog
view 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 |
line wrap: on
line source
[package] name = "wort-templog" version = "0.1.0" authors = ["Matt Johnston <[email protected]>"] edition = "2018" [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" rand = "0.7" log = "0.4" env_logger = "0.6" chrono = "0.4" lazy_static = "1.3" regex = "1.2" base64 = "0.4" libc = "0.2" atomicwrites = "0.2" riker = "0.3" structopt = "0.3" config = "0.9" anyhow = "1.0" # alpha for async futures = "0.3" #futures = "=0.3.0-alpha.18" #futures-util-preview = "=0.3.0-alpha.18" async-std = "0.99" # XXX use hyper-client to workaround https://github.com/http-rs/surf/issues/72 # surf = { version = "1.0", features = ["hyper-client"] } surf = "1.0" [target.'cfg(target_os = "linux")'.dependencies] sysfs_gpio = "0.5"