Skip to content

Commit

Permalink
Make backtraces optional (opt-in)
Browse files Browse the repository at this point in the history
To remove dependency on `cc` crate by default, which has additional compile-time requirements.
  • Loading branch information
phil-opp committed May 24, 2019
1 parent b49e367 commit bd73f5a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- Make backtraces optional through a new opt-in `backtrace` feature. This removes the dependency on `cc` by default, which has special compile-time requirements.

## [v0.5.8] - 2019-04-11

- Add `cargo xcheck`/`cargo xtest` commands for invoking `cargo check`/`cargo test`.
Expand Down
33 changes: 16 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions Cargo.toml
Expand Up @@ -14,7 +14,6 @@ version = "0.5.8"
name = "xargo_lib"

[dependencies]
error-chain = "0.7.2"
fs2 = "0.4.1"
libc = "0.2.18"
rustc_version = "0.1.7"
Expand All @@ -24,7 +23,14 @@ serde_json = "1.0"
tempdir = "0.3.5"
toml = "0.2.1"
walkdir = "1.0.3"
cargo_metadata = "0.5.5"

[dependencies.error-chain]
version = "0.7.2"
default-features = false

[dependencies.cargo_metadata]
version = "0.5.5"
default-features = false

[dev-dependencies]
lazy_static = "0.2.8"
Expand All @@ -34,3 +40,4 @@ version = "0.3.6"

[features]
dev = []
backtrace = ["error-chain/backtrace", "cargo_metadata/backtrace"]

0 comments on commit bd73f5a

Please sign in to comment.