hao-runtime 0.0.4

Host the .net runtime (CoreCLR or Mono) in a rust process
Documentation
# 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 = "hao-runtime"
version = "0.0.4"
authors = ["Sam M."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host the .net runtime (CoreCLR or Mono) in a rust process"
documentation = "https://docs.rs/hao-runtime"
readme = "README.md"
keywords = [
    "dotnet",
    "coreclr",
    "mono",
    "hosting",
    "interop",
]
license = "MIT"
repository = "https://github.com/pigeonhands/hao"

[package.metadata.docs.rs]
all-features = true

[features]
coreclr = ["hao"]
default = ["coreclr"]
hao = ["dep:hao"]
mono = []
reflect = [
    "dep:facet",
    "hao?/reflect",
]

[lib]
name = "hao_runtime"
path = "src/lib.rs"

[[example]]
name = "call_any_method"
path = "examples/call_any_method.rs"

[[example]]
name = "generate_and_call"
path = "examples/generate_and_call.rs"

[[example]]
name = "hook_managed"
path = "examples/hook_managed.rs"

[[example]]
name = "mono"
path = "examples/mono.rs"
required-features = ["mono"]

[[example]]
name = "mono_attach"
path = "examples/mono_attach.rs"
required-features = ["mono"]

[[example]]
name = "patch_in_memory"
path = "examples/patch_in_memory.rs"

[[test]]
name = "coreclr"
path = "tests/coreclr.rs"

[[test]]
name = "method_pointer"
path = "tests/method_pointer.rs"

[[test]]
name = "mono"
path = "tests/mono.rs"

[[test]]
name = "mono_attach"
path = "tests/mono_attach.rs"

[dependencies.facet]
version = "0.50.0-rc.7"
optional = true

[dependencies.hao]
version = "0.0.9"
optional = true

[dependencies.libloading]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.libloading]
version = "0.9"

[target.'cfg(target_arch = "x86_64")'.dependencies.hooking]
version = "0.6"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = ["Win32_System_Console"]