---
title: "enableUpcomingFeature(_:_:)"
framework: swift-package-manager
role: symbol
role_heading: Type Method
path: "swift-package-manager/documentation/packagedescription/swiftsetting/enableupcomingfeature(_:_:)"
---

# enableUpcomingFeature(_:_:)

Enable an upcoming feature with the given name.

## Declaration

```swift
static func enableUpcomingFeature(_ name: String, _ condition: BuildSettingCondition? = nil) -> SwiftSetting
```

## Parameters

- `name`: The name of the upcoming feature; for example, ConciseMagicFile.
- `condition`: A condition that restricts the application of the build setting.

## Discussion

Discussion An upcoming feature is one that is available in Swift as of a certain language version, but isn’t available by default in prior language modes because it has some impact on source compatibility. You can add and use multiple upcoming features in a given target without affecting its dependencies. Targets will ignore any unknown upcoming features. note: First available in PackageDescription 5.8.

## See Also

### Configuring Swift Experimental and Upcoming Features

- [enableExperimentalFeature(_:_:)](swift-package-manager/documentation/packagedescription/swiftsetting/enableexperimentalfeature(_:_:).md)
