A now defunct web server engine that is notable for its overuse of unsafe code, the memory safety bugs caused by that, and its deletion by its creator.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
2.8 KiB

  1. [package]
  2. name = "actix-web"
  3. version = "2.0.0"
  4. authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
  5. description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
  6. readme = "README.md"
  7. keywords = ["actix", "http", "web", "framework", "async"]
  8. homepage = "https://actix.rs"
  9. repository = "https://github.com/actix/actix-web.git"
  10. documentation = "https://docs.rs/actix-web/"
  11. categories = ["network-programming", "asynchronous",
  12. "web-programming::http-server",
  13. "web-programming::websocket"]
  14. license = "MIT/Apache-2.0"
  15. edition = "2018"
  16. [package.metadata.docs.rs]
  17. features = ["openssl", "rustls", "compress", "secure-cookies"]
  18. [badges]
  19. travis-ci = { repository = "actix/actix-web", branch = "master" }
  20. codecov = { repository = "actix/actix-web", branch = "master", service = "github" }
  21. [lib]
  22. name = "actix_web"
  23. path = "src/lib.rs"
  24. [workspace]
  25. members = [
  26. ".",
  27. "awc",
  28. "actix-http",
  29. "actix-cors",
  30. "actix-files",
  31. "actix-framed",
  32. "actix-session",
  33. "actix-identity",
  34. "actix-multipart",
  35. "actix-web-actors",
  36. "actix-web-codegen",
  37. "test-server",
  38. ]
  39. [features]
  40. default = ["compress", "failure"]
  41. # content-encoding support
  42. compress = ["actix-http/compress", "awc/compress"]
  43. # sessions feature, session require "ring" crate and c compiler
  44. secure-cookies = ["actix-http/secure-cookies"]
  45. failure = ["actix-http/failure"]
  46. # openssl
  47. openssl = ["actix-tls/openssl", "awc/openssl", "open-ssl"]
  48. # rustls
  49. rustls = ["actix-tls/rustls", "awc/rustls", "rust-tls"]
  50. [dependencies]
  51. actix-codec = "0.2.0"
  52. actix-service = "1.0.2"
  53. actix-utils = "1.0.6"
  54. actix-router = "0.2.4"
  55. actix-rt = "1.0.0"
  56. actix-server = "1.0.0"
  57. actix-testing = "1.0.0"
  58. actix-macros = "0.1.0"
  59. actix-threadpool = "0.3.1"
  60. actix-tls = "1.0.0"
  61. actix-web-codegen = "0.2.0"
  62. actix-http = "1.0.1"
  63. awc = { version = "1.0.1", default-features = false }
  64. bytes = "0.5.3"
  65. derive_more = "0.99.2"
  66. encoding_rs = "0.8"
  67. futures = "0.3.1"
  68. fxhash = "0.2.1"
  69. log = "0.4"
  70. mime = "0.3"
  71. net2 = "0.2.33"
  72. pin-project = "0.4.6"
  73. regex = "1.3"
  74. serde = { version = "1.0", features=["derive"] }
  75. serde_json = "1.0"
  76. serde_urlencoded = "0.6.1"
  77. time = "0.1.42"
  78. url = "2.1"
  79. open-ssl = { version="0.10", package = "openssl", optional = true }
  80. rust-tls = { version = "0.16.0", package = "rustls", optional = true }
  81. [dev-dependencies]
  82. actix = "0.9.0"
  83. rand = "0.7"
  84. env_logger = "0.6"
  85. serde_derive = "1.0"
  86. brotli2 = "0.3.2"
  87. flate2 = "1.0.13"
  88. [profile.release]
  89. lto = true
  90. opt-level = 3
  91. codegen-units = 1
  92. [patch.crates-io]
  93. actix-web = { path = "." }
  94. actix-http = { path = "actix-http" }
  95. actix-http-test = { path = "test-server" }
  96. actix-web-codegen = { path = "actix-web-codegen" }
  97. actix-cors = { path = "actix-cors" }
  98. actix-identity = { path = "actix-identity" }
  99. actix-session = { path = "actix-session" }
  100. actix-files = { path = "actix-files" }
  101. actix-multipart = { path = "actix-multipart" }
  102. awc = { path = "awc" }