mscorlib-sys

Rust bindings to mscorlib

Provides raw FFI-compatible bindings to interfaces, structs, and enums defined in mscorlib, for use with stuff like COM and other aspects of Windows.

Makes extensive use of winapi macros and defines.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Windows 10 Visual Studio Community 2017 .Net >= 4.6.1 Rust >= 1.28

Unfortunately the library relies on building a C dll wrapper around mscorlib.dll in order to make the symbols accessible to the rust linker. Upcoming work will be to make this less onerous and available on more platforms. (IE, downloading a pre-built DLL?)

Installing

Clone the repository

git clone https://github.com/ZerothLaw/mscorlib-rs-sys.git

Move into the directory

cd mscorlib-rs-sys/

Build the library

cargo build

See examples\array_list.rs for an example how to work the bindings.

Or add this line to your .toml file:

` [dependencies] mscorlib-sys = "0.1.10"

Running the tests

cargo test

Deployment

This is intended to be compiled into a final executable, not deployed on its own.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments