[workspace]
resolver = "2"
members = [
  "actix-codec",
  "actix-macros",
  "actix-rt",
  "actix-server",
  "actix-service",
  "actix-tls",
  "actix-tracing",
  "actix-utils",
  "bytestring",
  "local-channel",
  "local-waker",
]

[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.71.1"

[patch.crates-io]
actix-codec = { path = "actix-codec" }
actix-macros = { path = "actix-macros" }
actix-rt = { path = "actix-rt" }
actix-server = { path = "actix-server" }
actix-service = { path = "actix-service" }
actix-tls = { path = "actix-tls" }
actix-tracing = { path = "actix-tracing" }
actix-utils = { path = "actix-utils" }
bytestring = { path = "bytestring" }
local-channel = { path = "local-channel" }
local-waker = { path = "local-waker" }

[profile.release]
lto = true
opt-level = 3
codegen-units = 1

[workspace.lints.rust]
rust_2018_idioms = "deny"
nonstandard-style = "deny"
future_incompatible = "deny"
missing_docs = { level = "warn", priority = -1 }