Cargo.toml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. [package]
  2. name = "dim-core"
  3. build = "src/build.rs"
  4. version.workspace = true
  5. authors.workspace = true
  6. edition.workspace = true
  7. license.workspace = true
  8. [features]
  9. vaapi = ["nightfall/vaapi"]
  10. [dependencies]
  11. # git dependencies
  12. nightfall = { git = "https://github.com/Dusk-Labs/nightfall", tag = "0.3.12-rc4", default-features = false, features = [
  13. "cuda",
  14. "ssa_transmux",
  15. ] }
  16. # local dependencies
  17. dim-auth = { path = "../dim-auth" }
  18. dim-database = { path = "../dim-database" }
  19. dim-events = { path = "../dim-events" }
  20. dim-extern-api = { path = "../dim-extern-api" }
  21. dim-utils = { path = "../dim-utils" }
  22. serde = { version = "^1.0.125", default-features = false, features = [
  23. "derive",
  24. "std",
  25. "rc",
  26. ] }
  27. serde_derive = "^1.0.125"
  28. serde_json = "^1.0.64"
  29. async-trait = "0.1.50"
  30. axum = { version = "0.6.20" }
  31. cfg-if = "1.0.0"
  32. chrono = { version = "0.4.19", features = ["serde"] }
  33. dia-i18n = "0.10.0"
  34. displaydoc = "0.2.3"
  35. futures = "0.3.14"
  36. fuzzy-matcher = "0.3.7"
  37. http = "^0.2.3"
  38. hyper = "0.14.20"
  39. ignore = "0.4.20"
  40. image = "0.24.3"
  41. itertools = "0.10.3"
  42. lazy_static = "1.4.0"
  43. libsqlite3-sys = { version = "^0.24.0" }
  44. notify = "5.0.0"
  45. once_cell = "1.8.0"
  46. parking_lot = "0.12.0"
  47. percent-encoding = "2.1.0"
  48. rand = { version = "0.8.5", features = ["small_rng"] }
  49. reqwest = { version = "0.11.0", features = [
  50. "json",
  51. "rustls-tls",
  52. "brotli",
  53. ], default-features = false }
  54. rusqlite = { version = "0.27.0", features = ["hooks"] }
  55. rust-embed = "^5.9.0"
  56. sqlx = { version = "0.5", features = ["runtime-tokio-rustls"] }
  57. thiserror = "1.0.30"
  58. tokio = { version = "1", features = ["rt", "signal", "full", "tracing"] }
  59. tokio-stream = "0.1.12"
  60. tokio-tungstenite = "0.20.1"
  61. toml = "0.5.8"
  62. tracing = "0.1.32"
  63. tracing-appender = "0.2.0"
  64. tracing-subscriber = { version = "^0.3.10", features = [
  65. "fmt",
  66. "env-filter",
  67. "json",
  68. ] }
  69. url = "2.2.2"
  70. uuid = { version = "1.2.2", features = ["v4"] }
  71. xmlwriter = "0.1.0"
  72. xtra = { version = "0.5.1", features = ["tokio", "with-tokio-1"] }
  73. [target.'cfg(unix)'.dependencies]
  74. nix = "0.23.1"
  75. [target.'cfg(windows)'.dependencies]
  76. zip = "0.5.10"
  77. [dev-dependencies]
  78. serial_test = "0.6.0"
  79. tempfile = "3.3.0"
  80. criterion = { version = "0.3", features = ["async_tokio"] }
  81. [[bench]]
  82. name = "movie_scanner"
  83. harness = false