summaryrefslogtreecommitdiffstats
path: root/lib/core/libimagrt/Cargo.toml
AgeCommit message (Collapse)Author
2020-05-31handlebars: 2 -> 3Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-05-31itertools: 0.8.0 -> 0.9.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-04-29Replace repository with new sourcehut repoMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-03-24Merge branch 'update-toml-query' into masterMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-03-24Add blackhole as default cli optionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-03-24Update toml-query: 0.9.2 -> 0.10.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-03-24Revert "Move to toml-query from master branch"Matthias Beyer
This reverts commit f7fadc118f2de7e84cef8c6d4103296289564f74. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-03-08Move to toml-query from master branchMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-03-08Replace failure with anyhow in complete codebaseMatthias Beyer
This patch was scripted with sed -i 's/use failure::Error/use anyhow::Error/' $(rg "use failure::Error" -l) sed -i 's/use failure::Fallible as /use anyhow::/' $(rg "use failure::Fallible" -l) sed -i 's/failure/anyhow/' $(rg "failure *=" -l) sed -i 's/format_err!/anyhow!/' $(rg "format_err!" -l) sed -i 's/use failure::ResultExt/use anyhow::Context/' $(rg "use failure::ResultExt" -l) sed -i 's/err_msg/anyhow!/' $(rg "use failure::err_msg" -l) sed -i 's/^anyhow\ *=.*$/anyhow = "1"/' $(rg "anyhow * =" -l) sed -i 's/^anyhow_derive.*//' $(rg "anyhow_derive" -l) sed -i 's/extern crate failure/extern crate anyhow/' $(rg "extern crate failure" -l) sed -i 's/.*extern crate anyhow_derive.*//' $(rg "anyhow_derive" -l) Some manual changes were added as well, so this patch was not completely scripted, but mostly. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-07Update dependency: ansi_term: 0.11.0 -> 0.12Matthias Beyer
2019-10-07Update dependency: handlebars: 1.1.0 -> 2Matthias Beyer
2019-10-07Update dependency: env_logger: 0.6.1 -> 0.7Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Update all dependenciesMatthias Beyer
This patch updates all dependencies but not "nom". Done with `cargo upgrade --all` and manual editing. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-31Import toml-query with typed featureMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-30Remove boilerplate by enabling serde in "log" dependencyMatthias Beyer
This patch adds the "serde" feature to the "log" dependency, so we can deserialize logging levels directly into "log" types. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-30Rewrite logging config deserializationMatthias Beyer
This patch rewrites the logging config deserialization. It removes the manual traversing of the config toml structure and replaces it with types which implement `Deserialize`, which is way more convenient and easy to read (and extend). Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-29Update toml-query to 0.9.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-29Update dependency: toml: 0.4 -> 0.5Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-10Update version stringsMatthias Beyer
...for the next release, which will be imag 0.10.0! Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09Update dependencies from git versions to proper versions.Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-31Add feature: Public logging initializationMatthias Beyer
This feature is required for the `imag` binary. It allows the binary to use the imag internal logger for logging its own log output. We need to be able to initialize the logger from an external module (in all imag modules, the Runtime::new() implementation takes care of this, but as we cannot use that in the `imag` binary itself, we allow this method to be public behind a feature flag). Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30libimagrt: Move from error-chain to failureMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-06Remove handlebars exception in log implementationMatthias Beyer
The issue was that the handlebars implementation logs as well and if we use handlebars in the logger implementation that causes recursion which crashes the program. With handlebars 1.0.5, there is a feature[0] to disable logging in handlebars (compiletime) which we use with this patch. The exception-checking in the log implementation can be removed therefore. [0]: https://github.com/sunng87/handlebars-rust/pull/236#issuecomment-427014611 Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-09-30Update dependency: ansi_term: 0.10 -> 0.11Matthias Beyer
2018-09-27Update dependency: handlebars: 0.29.0 -> 1.0Matthias Beyer
2018-09-27Revert "Update dependency: handlebars: 0.29.0 -> 1.0"Matthias Beyer
This reverts commit a1f0872486995b80216e8a08a2176debdef3752a. As updating handlebars needs some more involvement, we roll back to the version we use currently and schedule the update for later. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-09-27Update dependency: handlebars: 0.29.0 -> 1.0Matthias Beyer
2018-09-27Update dependency: toml-query: 0.6 -> 0.7Matthias Beyer
2018-09-27Update dependency: error-chain: 0.11 -> 0.12Matthias Beyer
2018-05-09Update version string: 0.8.0 -> 0.9.0Matthias Beyer
2018-04-20Update dependency: log: 0.4.0-rc.1 -> 0.4Matthias Beyer
2018-04-19Update version numbers: 0.7.0 -> 0.8.0Matthias Beyer
2018-04-18Merge pull request #1380 from matthiasbeyer/minorMatthias Beyer
Minor patches
2018-04-17Fix documentation in crate metadataMatthias Beyer
2018-04-13Use clap with wrap_help featureMatthias Beyer
2018-04-13Use clap "^2.29" instead of ">=2.29"Matthias Beyer
2018-03-04Provide stdin/out/err resources via Runtime objectMatthias Beyer
This way we can control whether "out" output goes to stdout or stderr without the user of the functionality knowing. This is useful for later when we use libimagrt to automatically read and write the store from and to stdout/in depending on whether we are talking to a TTY or a pipe.
2018-02-11Update version string: 0.6.0 -> 0.7.0Matthias Beyer
2018-02-10Update dependency: clap: 2.17 -> 2.29Matthias Beyer
2018-02-10Compile clap with suggestions and color supportMatthias Beyer
2018-01-18env_logger: 0.5.0-rc.2 -> 0.5Matthias Beyer
2018-01-15env_logger: 0.5.0-rc.1 -> 0.5.0-rc.2Matthias Beyer
2018-01-15env_logger: 0.4.* -> 0.5.0-rc.1Matthias Beyer
2018-01-15Adapt libimagrt for new log setupMatthias Beyer
2018-01-15Update dependency: log: 0.3.* -> 0.4.0-rc.1Matthias Beyer
2018-01-13Update dependency: toml-query -> 0.6Matthias Beyer
2017-12-25Update version strings: 0.5.0 -> 0.6.0Matthias Beyer
2017-10-31Add badges in Cargo.toml of all cratesMatthias Beyer
2017-10-12Update toml-query: 0.3.* -> 0.4Matthias Beyer
This update is needed for the error-chain update, as the toml-query 0.4.0 release also bumps this dependency.
2017-10-12Update dependency: error-chain: 0.10 -> 0.11Matthias Beyer