Marking specific dependency versions as deprecated?

I have a macro package that currently supports swift-syntax all the way back to 510:

// Version 1.0.0

let dependencies: [Package.Dependency] = [
  .package(
    url: "https://github.com/apple/swift-syntax.git",
    "510.0.0"..<"603.0.0"
  )
]

For the next major version I would like to drop support for 510:

// Version 2.0.0

let dependencies: [Package.Dependency] = [
  .package(
    url: "https://github.com/apple/swift-syntax.git",
    "600.0.0"..<"603.0.0"
  )
]

Before that happens I'm looking for some way to formally indicate that support for swift-syntax is deprecated for 510. This should not break builds for library maintainers that are stuck on 510 because of another package dependency. I would want for this to just be a warning for now.

Something like this:

// Version 1.1.0

let dependencies: [Package.Dependency] = [
  .package(
    url: "https://github.com/apple/swift-syntax.git",
    "510.0.0"..<"603.0.0",
    deprecated: "510.0.0"..<"600.0.0"
  )
]

I don't believe there is currently any API for this. Are there any creative workarounds that could also work here?

Has anyone else needed something like this before? Is this idea worth pitching as a new API?