Cargo.toml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. # the build script usually will enable this if `yarn` is installed.
  11. # If enabled explicitly, the build script will panic if something went wrong.
  12. embed_ui = []
  13. [dependencies]
  14. # git dependencies
  15. nightfall = { git = "https://github.com/Dusk-Labs/nightfall", tag = "0.3.12-rc4", default-features = false, features = [
  16. "cuda",
  17. "ssa_transmux",
  18. ] }
  19. # local dependencies
  20. dim-auth = { path = "../dim-auth" }
  21. dim-database = { path = "../dim-database" }
  22. dim-events = { path = "../dim-events" }
  23. dim-extern-api = { path = "../dim-extern-api" }
  24. dim-utils = { path = "../dim-utils" }
  25. serde = { version = "^1.0.125", default-features = false, features = [
  26. "derive",
  27. "std",
  28. "rc",
  29. ] }
  30. serde_derive = "^1.0.125"
  31. serde_json = "^1.0.64"
  32. async-trait = "0.1.50"
  33. bytes = "1.0.1"
  34. cfg-if = "1.0.0"
  35. chrono = { version = "0.4.19", features = ["serde"] }
  36. dia-i18n = "0.10.0"
  37. displaydoc = "0.2.3"
  38. dominant_color = "0.3.0"
  39. futures = "0.3.14"
  40. fuzzy-matcher = "0.3.7"
  41. http = "^0.2.3"
  42. hyper = "0.14.20"
  43. image = "0.24.3"
  44. itertools = "0.10.3"
  45. lazy_static = "1.4.0"
  46. libsqlite3-sys = { version = "^0.24.0" }
  47. notify = "5.0.0"
  48. once_cell = "1.8.0"
  49. parking_lot = "0.12.0"
  50. percent-encoding = "2.1.0"
  51. rand = { version = "0.8.5", features = ["small_rng"] }
  52. reqwest = { version = "0.11.0", features = [
  53. "json",
  54. "rustls-tls",
  55. "brotli",
  56. ], default-features = false }
  57. rusqlite = { version = "0.27.0", features = ["hooks"] }
  58. rust-embed = "^5.9.0"
  59. sqlx = { version = "0.5", features = ["runtime-tokio-rustls"] }
  60. thiserror = "1.0.30"
  61. tokio = { version = "1", features = ["rt", "signal", "full", "tracing"] }
  62. tokio-stream = "0.1.12"
  63. tokio-tungstenite = "0.20.1"
  64. toml = "0.5.8"
  65. tracing = "0.1.32"
  66. tracing-appender = "0.2.0"
  67. tracing-subscriber = { version = "^0.3.10", features = [
  68. "fmt",
  69. "env-filter",
  70. "json",
  71. ] }
  72. url = "2.2.2"
  73. uuid = { version = "1.2.2", features = ["v4"] }
  74. walkdir = "2.3.1"
  75. warp = { version = "0.3.3", features = ["tls", "tokio-rustls"] }
  76. xmlwriter = "0.1.0"
  77. xtra = { version = "0.5.1", features = ["tokio", "with-tokio-1"] }
  78. [target.'cfg(unix)'.dependencies]
  79. nix = "0.23.1"
  80. [target.'cfg(windows)'.dependencies]
  81. zip = "0.5.10"
  82. [dev-dependencies]
  83. serial_test = "0.6.0"
  84. tempfile = "3.3.0"
  85. criterion = { version = "0.3", features = ["async_tokio"] }
  86. [[bench]]
  87. name = "movie_scanner"
  88. harness = false