Crate svm_lib[][src]

Structs

Defines the struct that the JSON-formatted release list can be deserialized into.

Enums

Error types from the svm_lib crate.

Statics

Declare path to Solc Version Manager’s home directory, “~/.svm” on Unix-based machines.

Functions

Fetch all releases available for the provided platform.

Fetches the list of all the available versions of Solc. The list is platform dependent, so different versions can be found for macosx vs linux.

Reads the currently set global version for Solc. Returns None if none has yet been set.

Derive path to SVM’s global version file.

Installs the provided version of Solc in the machine.

Reads the list of Solc versions that have been installed in the machine. The version list is sorted in ascending order.

Read the current machine’s platform.

Removes the provided version of Solc from the machine.

Setup SVM home directory.

Unset the global version. This should be done if all versions are removed.

Sets the provided version as the global version for Solc.

Derive path to a specific Solc version’s binary.