mirror of
https://github.com/rust-lang/cargo
synced 2024-08-28 03:39:31 +00:00
parent
403fbe2b49
commit
b8a684674a
|
@ -504,6 +504,9 @@ features! {
|
|||
|
||||
/// Allow setting trim-paths in a profile to control the sanitisation of file paths in build outputs.
|
||||
(unstable, trim_paths, "", "reference/unstable.html#profile-trim-paths-option"),
|
||||
|
||||
/// Allow multiple packages to participate in the same API namespace
|
||||
(unstable, open_namespaces, "", "reference/unstable.html#open-namespaces"),
|
||||
}
|
||||
|
||||
/// Status and metadata for a single unstable feature.
|
||||
|
|
|
@ -87,6 +87,7 @@ For the latest nightly, see the [nightly version] of this page.
|
|||
* [host-config](#host-config) --- Allows setting `[target]`-like configuration settings for host build targets.
|
||||
* [target-applies-to-host](#target-applies-to-host) --- Alters whether certain flags will be passed to host build targets.
|
||||
* [gc](#gc) --- Global cache garbage collection.
|
||||
* [open-namespaces](#open-namespaces) --- Allow multiple packages to participate in the same API namespace
|
||||
* rustdoc
|
||||
* [rustdoc-map](#rustdoc-map) --- Provides mappings for documentation to link to external sites like [docs.rs](https://docs.rs/).
|
||||
* [scrape-examples](#scrape-examples) --- Shows examples within documentation.
|
||||
|
@ -1518,6 +1519,20 @@ cargo clean gc --max-download-age=1week
|
|||
cargo clean gc --max-git-size=0 --max-download-size=100MB
|
||||
```
|
||||
|
||||
## open-namespaces
|
||||
|
||||
* Tracking Issue: [#13576](https://github.com/rust-lang/cargo/issues/13576)
|
||||
|
||||
Allow multiple packages to participate in the same API namespace
|
||||
|
||||
This can be enabled like so:
|
||||
```toml
|
||||
cargo-features = ["open-namespaces"]
|
||||
|
||||
[package]
|
||||
# ...
|
||||
```
|
||||
|
||||
# Stabilized and removed features
|
||||
|
||||
## Compile progress
|
||||
|
|
Loading…
Reference in a new issue