Pre: Get ready to use log in mentat_db.
We don't yet have a logging system for production use, but I'd like to start experimenting with log, which seems to be (close to) a Rust standard. We're already using it in mentat_cli.
This commit is contained in:
parent
d4a635f4e7
commit
7960b4ccd2
2 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,7 @@ error-chain = { git = "https://github.com/rnewman/error-chain", branch = "rnewma
|
||||||
indexmap = "1"
|
indexmap = "1"
|
||||||
itertools = "0.7"
|
itertools = "0.7"
|
||||||
lazy_static = "0.2"
|
lazy_static = "0.2"
|
||||||
|
log = "0.4"
|
||||||
num = "0.1"
|
num = "0.1"
|
||||||
ordered-float = "0.5"
|
ordered-float = "0.5"
|
||||||
time = "0.1"
|
time = "0.1"
|
||||||
|
@ -31,3 +32,6 @@ path = "../tx-parser"
|
||||||
# Should be dev-dependencies.
|
# Should be dev-dependencies.
|
||||||
[dependencies.tabwriter]
|
[dependencies.tabwriter]
|
||||||
version = "1.0.3"
|
version = "1.0.3"
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
env_logger = "0.5"
|
||||||
|
|
|
@ -13,11 +13,11 @@ test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
combine = "2.2.2"
|
combine = "2.2.2"
|
||||||
env_logger = "0.3"
|
env_logger = "0.5"
|
||||||
getopts = "0.2"
|
getopts = "0.2"
|
||||||
lazy_static = "0.2"
|
lazy_static = "0.2"
|
||||||
linefeed = "0.4"
|
linefeed = "0.4"
|
||||||
log = "0.3"
|
log = "0.4"
|
||||||
tabwriter = "1"
|
tabwriter = "1"
|
||||||
tempfile = "1.1"
|
tempfile = "1.1"
|
||||||
termion = "1"
|
termion = "1"
|
||||||
|
|
Loading…
Reference in a new issue