Skip to content

Library for working with the Windows Host Compute Network.

License

Notifications You must be signed in to change notification settings

jsturtevant/hcn-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci

hcn-rs

Library for working with the Windows Host Compute Network.

Example

use hcn::get_namespace;

let namespace = get_namespace(api_namespace.id.as_str())?;
println!("Namespace id: {}", namespace.id);

See examples folder for more.

JSON schema

The HCN API Schema is exposed as a module that can be used to call the API.

Low Level API

The library also has a low level API that translates the HCN C library to Rust friendly implementation. This is used throughout the project and can provide flexibility if the schema hasn't been updated yet but does require additional steps. See the *_api.rs in the examples folder

Credit

The low level api was originally from https://github.com/rafawo/hcs-rs under MIT. This project updated the API's to use https://github.com/microsoft/windows-rs, updated error handling, changed handle types, added HCN schema and wrappers around the API to simplify its use.

About

Library for working with the Windows Host Compute Network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages