https://github.com/openbytedev/nethost-sys
FFI bindings for nethost.
https://github.com/openbytedev/nethost-sys
Last synced: 6 months ago
JSON representation
FFI bindings for nethost.
- Host: GitHub
- URL: https://github.com/openbytedev/nethost-sys
- Owner: OpenByteDev
- License: mit
- Created: 2021-09-20T18:45:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-13T18:12:57.000Z (almost 2 years ago)
- Last Synced: 2025-04-14T03:02:49.783Z (about 1 year ago)
- Language: Rust
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nethost-sys
[](https://github.com/OpenByteDev/nethost-sys/actions/workflows/ci.yml)
[](https://crates.io/crates/nethost-sys)
[](https://docs.rs/nethost-sys)
[](https://deps.rs/repo/github/openbytedev/nethost-sys)
[](https://github.com/OpenByteDev/nethost-sys/blob/master/LICENSE)
FFI bindings for [nethost](https://github.com/dotnet/runtime/blob/main/docs/design/features/host-components.md#components-of-the-hosting).
Supports automatically downloading the latest version of the [nethost](https://github.com/dotnet/runtime/blob/main/docs/design/features/host-components.md#components-of-the-hosting) library from [NuGet](https://www.nuget.org/packages/Microsoft.NETCore.DotNetHost/) with the `download-nuget` feature.
### Related crates
- [hostfxr-sys](https://crates.io/crates/hostfxr-sys) - bindings for the hostfxr library.
- [coreclr-hosting-shared](https://crates.io/crates/coreclr-hosting-shared) - shared bindings between this crate and [hostfxr-sys](https://crates.io/crates/hostfxr-sys).
- [netcorehost](https://crates.io/crates/netcorehost) - rusty wrapper over the nethost and hostfxr libraries.
### Additional Information
- [Hosting layer APIs](https://github.com/dotnet/core-setup/blob/master/Documentation/design-docs/hosting-layer-apis.md)
- [Native hosting](https://github.com/dotnet/core-setup/blob/master/Documentation/design-docs/native-hosting.md#runtime-properties)
- [Write a custom .NET Core host to control the .NET runtime from your native code](https://docs.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting)
### License
Licensed under the MIT license ([LICENSE](https://github.com/OpenByteDev/nethost-sys/blob/master/LICENSE) or http://opensource.org/licenses/MIT)