Cargo.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [package]
  2. name = "btlib"
  3. version = "0.1.0"
  4. authors = ["Matthew Carr <mdcarr941@gmail.com>"]
  5. edition = "2021"
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [features]
  8. # This feature allows test only code to be used in other crates. See the comment below for more
  9. # information.
  10. testing=[
  11. "dep:tempdir",
  12. "dep:ctor",
  13. "dep:nix",
  14. "dep:env_logger",
  15. "dep:lazy_static",
  16. "dep:dbus",
  17. "dep:vm-memory"
  18. ]
  19. [dependencies]
  20. btserde = { path = "../btserde" }
  21. harness = { path = "../harness" }
  22. serde = { version = "^1.0.136", features = ["derive"] }
  23. serde-big-array = { version = "^0.4.1" }
  24. openssl = { version = "^0.10.38", features = ["vendored"] }
  25. base64-url = { version = "^1.4.13" }
  26. strum = { version = "^0.24.0", features = ["derive"] }
  27. strum_macros = { version = "^0.24.0" }
  28. log = "0.4.17"
  29. tss-esapi = { version = "7.1.0", features = ["generate-bindings"] }
  30. tss-esapi-sys = "0.3.0"
  31. foreign-types = "0.3.1"
  32. zeroize = { version = "1.5.7", features = ["zeroize_derive"] }
  33. static_assertions = "1.1.0"
  34. brotli = "3.3.4"
  35. os_pipe = { version = "1.1.1", features = ["io_safety"] }
  36. zerocopy = "0.6.1"
  37. fuse-backend-rs = "0.9.6"
  38. # These are dev-dependencies. They are declared this way so test_helpers can be used in other
  39. # crates. The build.rs script also supports this by turning on "cfg(test)" when
  40. # the testing feature is enabled. This is a hack and should be removed once this issue is resolved:
  41. # https://github.com/rust-lang/cargo/issues/8379
  42. tempdir = { version = "0.3.7", optional = true }
  43. ctor = { version = "0.1.22", optional = true }
  44. nix = { version = "0.25.0", optional = true }
  45. env_logger = { version = "0.9.0", optional = true }
  46. lazy_static = { version = "1.4.0", optional = true }
  47. dbus = { version = "0.9.6", optional = true }
  48. vm-memory = { version = "0.9.0", optional = true }