Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [package]
  2. name = "smartdns-ui"
  3. version = "1.0.0"
  4. edition = "2021"
  5. [lib]
  6. crate-type = ["cdylib", "lib"]
  7. [dependencies]
  8. ctor = "0.4.3"
  9. bytes = "1.10.1"
  10. rusqlite = { version = "0.37.0", features = ["bundled"] }
  11. hyper = { version = "1.7.0", features = ["full"] }
  12. hyper-util = { version = "0.1.17", features = ["full"] }
  13. hyper-tungstenite = "0.18.0"
  14. tokio = { version = "1.47.1", features = ["full"] }
  15. serde = { version = "1.0.225", features = ["derive"] }
  16. tokio-rustls = { version = "0.26.2", optional = true}
  17. rustls-pemfile = { version = "2.2.0", optional = true}
  18. serde_json = "1.0.145"
  19. http-body-util = "0.1.3"
  20. getopts = "0.2.24"
  21. url = "2.5.7"
  22. jsonwebtoken = "9"
  23. matchit = "0.8.6"
  24. futures = "0.3.31"
  25. socket2 = "0.6.0"
  26. cfg-if = "1.0.3"
  27. urlencoding = "2.1.3"
  28. chrono = "0.4.42"
  29. nix = "0.30.1"
  30. tokio-fd = "0.3.0"
  31. pbkdf2 = { version = "0.12.2", features = ["simple"] }
  32. rand_core = { version = "0.6", features = ["std"] }
  33. [features]
  34. build-release = []
  35. https = ["tokio-rustls", "rustls-pemfile"]
  36. default = ["https"]
  37. [dev-dependencies]
  38. reqwest = {version = "0.12.23", features = ["blocking"]}
  39. tungstenite = "0.23.0"
  40. tokio-tungstenite = "0.23.1"
  41. tempfile = "3.22.0"
  42. [build-dependencies]
  43. bindgen = "0.69.5"
  44. [profile.release-optmize-size]
  45. inherits = "release"
  46. lto = true
  47. opt-level = "s"
  48. strip = true
  49. codegen-units = 1
  50. panic = "abort"