Cargo.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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:lazy_static",
  15. "dep:dbus",
  16. "dep:vm-memory"
  17. ]
  18. [dependencies]
  19. btserde = { path = "../btserde" }
  20. harness = { path = "../harness" }
  21. serde = { version = "^1.0.136", features = ["derive"] }
  22. serde-big-array = { version = "^0.4.1" }
  23. openssl = { version = "^0.10.38", features = ["vendored"] }
  24. base64-url = { version = "^1.4.13" }
  25. strum = { version = "^0.24.0", features = ["derive"] }
  26. strum_macros = { version = "^0.24.0" }
  27. log = "0.4.17"
  28. tss-esapi = { version = "7.1.0", features = ["generate-bindings"] }
  29. tss-esapi-sys = "0.3.0"
  30. foreign-types = "0.3.1"
  31. zeroize = { version = "1.5.7", features = ["zeroize_derive"] }
  32. static_assertions = "1.1.0"
  33. brotli = "3.3.4"
  34. os_pipe = { version = "1.1.1", features = ["io_safety"] }
  35. zerocopy = "0.6.1"
  36. fuse-backend-rs = "0.9.6"
  37. libc = "0.2.137"
  38. env_logger = { version = "0.9.0" }
  39. chrono = "0.4.23"
  40. # These are dev-dependencies. They are declared this way so test_helpers can be used in other
  41. # crates. The build.rs script also supports this by turning on "cfg(test)" when
  42. # the testing feature is enabled. This is a hack and should be removed once this issue is resolved:
  43. # https://github.com/rust-lang/cargo/issues/8379
  44. tempdir = { version = "0.3.7", optional = true }
  45. ctor = { version = "0.1.22", optional = true }
  46. nix = { version = "0.25.0", optional = true }
  47. lazy_static = { version = "1.4.0", optional = true }
  48. dbus = { version = "0.9.6", optional = true }
  49. vm-memory = { version = "0.9.0", optional = true }