# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "netcorehost" version = "0.17.0" authors = ["OpenByte "] description = "A Rust library for hosting the .NET Core runtime." documentation = "https://docs.rs/netcorehost" readme = "README.md" keywords = [ "nethost", "hostfxr", "dotnet", "bindings", "coreclr", ] categories = [ "api-bindings", "external-ffi-bindings", ] license = "MIT" repository = "https://github.com/OpenByteDev/netcorehost" [package.metadata.docs.rs] features = [ "nethost", "latest", "doc-cfg", "nightly", ] no-default-features = true [dependencies.coreclr-hosting-shared] version = "0.1" default-features = false [dependencies.derive_more] version = "0.99" features = [ "deref", "from", "display", ] default-features = false [dependencies.destruct-drop] version = "0.2" default-features = false [dependencies.enum-map] version = "2.6" default-features = false [dependencies.ffi-opaque] version = "2.0" default-features = false [dependencies.hostfxr-sys] version = "0.10" features = [ "enum-map", "undocumented", "wrapper", "optional-apis", ] default-features = false [dependencies.nethost-sys] version = ">=0.6.2" optional = true default-features = false [dependencies.num_enum] version = "0.7" default-features = false [dependencies.once_cell] version = "1.18" default-features = false [dependencies.thiserror] version = "1.0" default-features = false [dev-dependencies.current_platform] version = "0.2" [dev-dependencies.glob] version = "0.3" [dev-dependencies.path-absolutize] version = "3.1" [dev-dependencies.rusty-fork] version = "0.3" [dev-dependencies.trybuild] version = "1.0" [dev-dependencies.widestring] version = "1.0" [features] default = [ "nethost-download", "net7_0", ] doc-cfg = [] latest = [ "hostfxr-sys/latest", "net8_0", ] net5_0 = [ "hostfxr-sys/net5_0", "netcore3_0", ] net6_0 = [ "hostfxr-sys/net6_0", "net5_0", ] net7_0 = [ "hostfxr-sys/net7_0", "net6_0", ] net8_0 = [ "hostfxr-sys/net8_0", "net7_0", ] netcore1_0 = ["hostfxr-sys/netcore1_0"] netcore2_0 = [ "hostfxr-sys/netcore2_0", "netcore1_0", ] netcore2_1 = [ "hostfxr-sys/netcore2_1", "netcore2_0", ] netcore3_0 = [ "hostfxr-sys/netcore3_0", "netcore2_1", ] nethost = ["nethost-sys"] nethost-download = [ "nethost", "nethost-sys/download-nuget", ] nightly = [] [target."cfg(not(windows))".dependencies.cstr] version = "0.2" default-features = false [target."cfg(windows)".dependencies.widestring] version = "1.0" features = ["std"] default-features = false