Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1020 Bytes

dependencies.md

File metadata and controls

28 lines (17 loc) · 1020 Bytes

Dependencies

Cargo

To install the rust toolchain for building the project go to rust-lang.org and follow the instructions.

Protobuf

Protobuf's CLI (protoc) is required to build this project as it is used to auto-generate rust code based on the protobuf of the underlying API which communicates with Keymapp.

Windows

Install using winget:

winget install protobuf

In order for tonic-build to build, it needs to know the path of protoc. Therefore, we need to add the executable path to an environment variable using powershell:

[Environment]::SetEnvironmentVariable('PROTOC', '%USERPROFILE%\AppData\Local\Microsoft\WinGet\Packages\Google.Protobuf_Microsoft.Winget.Source_8wekyb3d8bbwe\bin\protoc.exe', 'User')

Linux & MacOS

For Linux & MacOS you can follow Google's installation instructions: grpc.io