diff options
| author | Teddy Wing | 2017-11-12 20:48:18 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2017-11-12 20:49:55 +0100 | 
| commit | 98fb0777107ed24e95cb3012a8b10ee3228829d5 (patch) | |
| tree | a62257b1e583716708bbef43407349989b753890 | |
| parent | b06e3fe2f1bcf7fa897648ab79e301ccab256ac8 (diff) | |
| download | kipper-98fb0777107ed24e95cb3012a8b10ee3228829d5.tar.bz2 | |
Add 'log' & 'stderrlog' crates
For logging capabilities. 'stderrlog' seemed like a reasonable option to
go with, even though it only logs to STDERR, given that I only feel the
need to log to STDERR.
| -rw-r--r-- | Cargo.lock | 23 | ||||
| -rw-r--r-- | Cargo.toml | 2 | 
2 files changed, 25 insertions, 0 deletions
| @@ -4,9 +4,11 @@ version = "0.0.1"  dependencies = [   "getopts 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",   "json 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",   "mockito 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",   "reqwest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",   "rouille 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", + "stderrlog 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",   "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",  ] @@ -126,6 +128,15 @@ dependencies = [  ]  [[package]] +name = "chrono" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "num 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]]  name = "chunked_transfer"  version = "0.3.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -915,6 +926,16 @@ version = "0.2.1"  source = "registry+https://github.com/rust-lang/crates.io-index"  [[package]] +name = "stderrlog" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "thread_local 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]]  name = "take"  version = "0.1.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1184,6 +1205,7 @@ dependencies = [  "checksum cc 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a9b13a57efd6b30ecd6598ebdb302cca617930b5470647570468a65d12ef9719"  "checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de"  "checksum chrono 0.2.25 (registry+https://github.com/rust-lang/crates.io-index)" = "9213f7cd7c27e95c2b57c49f0e69b1ea65b27138da84a170133fd21b07659c00" +"checksum chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7c20ebe0b2b08b0aeddba49c609fe7957ba2e33449882cb186a180bc60682fa9"  "checksum chunked_transfer 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "498d20a7aaf62625b9bf26e637cf7736417cde1d0c99f1d04d1170229a85cf87"  "checksum core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "25bfd746d203017f7d5cbd31ee5d8e17f94b6521c7af77ece6c9e4b2d4b16c67"  "checksum core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "065a5d7ffdcbc8fa145d6f0746f3555025b9097a9e9cda59f7467abae670c78d" @@ -1277,6 +1299,7 @@ dependencies = [  "checksum slab 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17b4fcaed89ab08ef143da37bc52adbcc04d4a69014f4c1208d6b51f0c47bc23"  "checksum slab 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fdeff4cd9ecff59ec7e3744cbca73dfe5ac35c2aedb2cfba8a1c715a18912e9d"  "checksum smallvec 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4c8cbcd6df1e117c2210e13ab5109635ad68a929fcbb8964dc965b76cb5ee013" +"checksum stderrlog 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bc4b93cdbbf5eedded5852b2220c01b35458d22f07f643b5e7332420cd74ba94"  "checksum take 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b157868d8ac1f56b64604539990685fa7611d8fa9e5476cf0c02cf34d32917c5"  "checksum tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "87974a6f5c1dfb344d733055601650059a3363de2a6104819293baff662132d6"  "checksum term 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "f2077e54d38055cf1ca0fd7933a2e00cd3ec8f6fed352b2a377f06dcdaaf3281" @@ -5,7 +5,9 @@ version = "0.0.1"  [dependencies]  getopts = "0.2.15"  json = "0.11.10" +log = "0.3.8"  mockito = "0.9.0"  reqwest = "0.8.1"  rouille = "1.0.3" +stderrlog = "0.2.3"  url = "1.6.0" | 
