Skip to content

Commit

Permalink
Enable backtrace feature on anyhow
Browse files Browse the repository at this point in the history
  • Loading branch information
flxo committed Aug 10, 2022
1 parent 5d6559b commit aad98a9
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 15 deletions.
63 changes: 63 additions & 0 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion examples/console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
tokio = { version = "1.20.1", features = ["macros", "rt", "net"] }
northstar-client = { path = "../../northstar-client" }
2 changes: 1 addition & 1 deletion examples/token-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
base64 = "0.13.0"
futures = { version = "0.3.21", default-features = false }
northstar-client= { path = "../../northstar-client" }
Expand Down
2 changes: 1 addition & 1 deletion examples/token-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
base64 = "0.13.0"
northstar-client = { path = "../../northstar-client" }
tokio = { version = "1.20.1", features = ["macros", "rt", "net"] }
2 changes: 1 addition & 1 deletion northstar-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "../README.md"
repository = "https://github.com/esrlabs/northstar"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
futures = "0.3.21"
northstar-runtime = { version = "^0.6.0", path = "../northstar-runtime", features = ["api"] }
thiserror = "1.0.32"
Expand Down
2 changes: 1 addition & 1 deletion northstar-nstar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "../README.md"
repository = "https://github.com/esrlabs/northstar"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
base64 = "0.13.0"
clap = { version = "3.2.16", features = ["derive"] }
clap_complete = "3.2.3"
Expand Down
8 changes: 3 additions & 5 deletions northstar-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/esrlabs/northstar"
rust-version = "1.60.0"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
async-stream = { version = "0.3.3", optional = true }
async-trait = { version = "0.1.57", optional = true }
base64 = { version = "0.13.0", optional = true }
Expand Down Expand Up @@ -96,7 +96,6 @@ npk = [
"zip"
]
runtime = [
"anyhow",
"api",
"async-stream",
"async-trait",
Expand Down Expand Up @@ -129,7 +128,6 @@ runtime = [
"url",
]
seccomp = [
"anyhow",
"bindgen",
"caps",
"lazy_static",
Expand All @@ -139,7 +137,7 @@ seccomp = [
]

[dev-dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
memfd = "0.6.1"
proptest = "1.0.0"
serde_json = "1.0.83"
Expand All @@ -148,7 +146,7 @@ tokio-test = "0.4.2"
toml = "0.5.9"

[build-dependencies]
anyhow = { version = "1.0.60", optional = true }
anyhow = { version = "1.0.60", features = ["backtrace"] }
bindgen = { version = "0.59.2", default-features = false, features = ["runtime"], optional = true }

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion northstar-sextant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
repository = "https://github.com/esrlabs/northstar"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
base64 = "0.13.0"
clap = { version = "3.2.16", features = ["derive"] }
colored = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion northstar-stress/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "../README.md"
repository = "https://github.com/esrlabs/northstar"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
clap = { version = "3.2.16", features = ["derive"] }
env_logger = "0.9.0"
futures = { version = "0.3.21", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion northstar-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
env_logger = "0.9.0"
futures = { version = "0.3.21", default-features = false }
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion northstar-tests/test-container/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
caps = "0.5.4"
clap = { version = "3.2.16", features = ["derive"] }
nix = { version = "0.24.2", default-features = false, features = ["process", "user"] }
2 changes: 1 addition & 1 deletion northstar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/esrlabs/northstar"
default-run = "northstar"

[dependencies]
anyhow = "1.0.60"
anyhow = { version = "1.0.60", features = ["backtrace"] }
clap = { version = "3.2.16", features = ["derive"] }
log = "0.4.17"
nix = { version = "0.24.2", default-features = false, features = ["sched", "mount"] }
Expand Down

0 comments on commit aad98a9

Please sign in to comment.