Mercurial > templog
annotate 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 |
rev | line source |
---|---|
587 | 1 [package] |
2 name = "wort-templog" | |
3 version = "0.1.0" | |
4 authors = ["Matt Johnston <[email protected]>"] | |
631 | 5 edition = "2018" |
587 | 6 |
7 [dependencies] | |
634 | 8 serde = { version = "1.0", features = ["derive"] } |
9 serde_json = "1.0" | |
633 | 10 rand = "0.7" |
11 log = "0.4" | |
12 env_logger = "0.6" | |
634 | 13 chrono = "0.4" |
633 | 14 lazy_static = "1.3" |
15 regex = "1.2" | |
620 | 16 base64 = "0.4" |
622 | 17 libc = "0.2" |
633 | 18 atomicwrites = "0.2" |
632
bde302def78e
moving to riker, nowhere near yet
Matt Johnston <matt@ucc.asn.au>
parents:
631
diff
changeset
|
19 riker = "0.3" |
634 | 20 structopt = "0.3" |
21 config = "0.9" | |
637 | 22 anyhow = "1.0" |
634 | 23 |
24 # alpha for async | |
639
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
25 futures = "0.3" |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
26 #futures = "=0.3.0-alpha.18" |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
27 #futures-util-preview = "=0.3.0-alpha.18" |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
28 |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
29 async-std = "0.99" |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
30 # XXX use hyper-client to workaround https://github.com/http-rs/surf/issues/72 |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
31 # surf = { version = "1.0", features = ["hyper-client"] } |
89818a14648b
- switch to using anyhow for errors, surf for http
Matt Johnston <matt@ucc.asn.au>
parents:
637
diff
changeset
|
32 surf = "1.0" |
620 | 33 |
626 | 34 [target.'cfg(target_os = "linux")'.dependencies] |
620 | 35 sysfs_gpio = "0.5" |