Cargo Features
[dependencies]
hostfxr-sys = { version = "0.11.0", default-features = false, features = ["wrapper", "optional-apis", "latest", "netcore1_0", "netcore2_0", "netcore2_1", "netcore3_0", "net5_0", "net6_0", "net7_0", "net8_0", "net9_0", "undocumented", "doc-cfg", "enum-map"] }
- default = net8_0, symbor, wrapper
-
These default features are set whenever
hostfxr-sys
is added without
somewhere in the dependency tree.default-features = false - symbor wrapper default
- optional-apis
- latest = net8_0
- netcore1_0 netcore2_0?
- netcore2_0 netcore2_1? = netcore1_0
- netcore2_1 netcore3_0? = netcore2_0
-
Affects
hostfxr-sys::hostfxr_resolve_sdk2_flags_t
,hostfxr-sys::hostfxr_resolve_sdk2_result_key_t
,hostfxr-sys::hostfxr_resolve_sdk2_result_fn
,hostfxr-sys::hostfxr_get_available_sdks_result_fn
… - netcore3_0 net5_0? = netcore2_1
-
Affects
hostfxr-sys::hostfxr_delegate_type
,hostfxr-sys::hostfxr_error_writer_fn
,hostfxr-sys::load_assembly_and_get_function_pointer_fn
,hostfxr-sys::component_entry_point_fn
… - net5_0 net6_0? = netcore3_0
-
Affects
hostfxr-sys::UNMANAGED_CALLERS_ONLY_METHOD
,hostfxr-sys::get_function_pointer_fn
… - net6_0 net7_0? = net5_0
-
Affects
hostfxr-sys::hostfxr_get_dotnet_environment_info_result_fn
,hostfxr-sys::hostfxr_dotnet_environment_sdk_info
,hostfxr-sys::hostfxr_dotnet_environment_framework_info
,hostfxr-sys::hostfxr_dotnet_environment_info
… - net7_0 net8_0 = net6_0
- net8_0 default latest? net9_0? = net7_0
-
Affects
hostfxr-sys::load_assembly_fn
,hostfxr-sys::load_assembly_bytes_fn
… - net9_0 = net8_0
- undocumented
-
Affects
hostfxr-sys::hostfxr_get_dotnet_environment_info_result_fn
,hostfxr-sys::hostfxr_dotnet_environment_sdk_info
,hostfxr-sys::hostfxr_dotnet_environment_framework_info
,hostfxr-sys::hostfxr_dotnet_environment_info
… - doc-cfg