Fix anyhow dependency issues (#208)

- Do not require backtrace feature
- Starting version 1.0.77, anyhow gathers backtrace is std feature (enabled by default)
  is specified even if backtrace feature is not enabled.
  Therefore specify default features as false.
- Specify version 1.0.45 since that is the minimul version required to successfully
  compile regorus

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2024-04-20 09:57:52 -07:00
committed by GitHub
parent 72ced23366
commit de56cce7cb
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ full-opa = [
opa-testutil = []
[dependencies]
anyhow = {version = "1.0.66", features = ["backtrace"] }
anyhow = { version = "1.0.45", default-features=false }
serde = {version = "1.0.150", features = ["derive", "rc"] }
serde_json = "1.0.89"
serde_yaml = {version = "0.9.16", optional = true }
@@ -108,7 +108,7 @@ test-generator = "0.3.1"
walkdir = "2.3.2"
[build-dependencies]
anyhow = "1.0.66"
anyhow = "1.0"
[profile.release]
debug = true