Cargo Features

netcorehost = { version = "0.17.0", default-features = false, features = ["nethost-download", "nethost", "nightly", "netcore1_0", "netcore2_0", "netcore2_1", "netcore3_0", "net5_0", "net6_0", "net7_0", "net8_0", "latest", "doc-cfg"] }
default = net7_0, nethost-download

These default features are set whenever netcorehost is added without default-features = false somewhere in the dependency tree.

nethost-download default = nethost

Enables download-nuget of nethost-sys

nethost nethost-download = nethost-sys

Affects netcorehost::nethost

netcore1_0 netcore2_0?

Enables netcore1_0 of hostfxr-sys ^0.10

netcore2_0 netcore2_1? = netcore1_0

Enables netcore2_0 of hostfxr-sys ^0.10

netcore2_1 netcore3_0? = netcore2_0

Enables netcore2_1 of hostfxr-sys ^0.10

netcore3_0 net5_0? = netcore2_1

Enables netcore3_0 of hostfxr-sys ^0.10

net5_0 net6_0? = netcore3_0

Enables net5_0 of hostfxr-sys ^0.10

net6_0 net7_0 = net5_0

Enables net6_0 of hostfxr-sys ^0.10

net7_0 default net8_0? = net6_0

Enables net7_0 of hostfxr-sys ^0.10

net8_0 latest? = net7_0

Enables net8_0 of hostfxr-sys ^0.10

latest = net8_0

Enables latest of hostfxr-sys ^0.10


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

nethost-sys nethost? nethost-download