Cargo complains that pepper is a library
auronandace opened this issue · comments
Running cargo install pepper
gets you the following output:
error: there is nothing to install in `pepper v0.16.0`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency in a Cargo project instead.
I'm currently updating the documentation to better communicate that pepper is now a library instead of a binary.
I've made this change to easily allow writing plugins in rust.
For now you can install it using git cargo install --git https://github.com/vamolessa/pepper.git
.
This will install the editor with all the plugins I use (currently lsp
and unreal integration
).
Alternatively, you can install just the vanilla editor with cargo install pepper --example pepper-vanilla
.
That is, just the editor without any plugins.
In the near future, I'll probably setup a bin crate to make it easier to install it from the cargo registry.
Just fixed it!
It's now possible to install vanilla pepper with cargo install pepper
and if you want lsp support, you can cargo install pepper-plugin-lsp
instead which will install the main editor together with the lsp plugin.