generated from PlexSheep/baserepo
readmy updated for package registries
version incremented
This commit is contained in:
parent
4a7aade4fc
commit
5865d65fa8
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "libpt"
|
name = "libpt"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
|
14
README.md
14
README.md
|
@ -16,17 +16,25 @@ So what? I don't care. Besides, there is not enough names to name everything uni
|
||||||
- [`maturin`](https://maturin.rs) - `pip install maturin`
|
- [`maturin`](https://maturin.rs) - `pip install maturin`
|
||||||
|
|
||||||
## Compiling & Installing from source
|
## Compiling & Installing from source
|
||||||
If you only want the rust library, you can simply build it with `cargo build`.
|
If you only want the rust library, you can simply build it with `cargo build`. Add it to your
|
||||||
|
project like any other local dependency.
|
||||||
|
|
||||||
If you want to use the python variant too, you need to compile with maturing.
|
If you want to use the python variant too, you need to compile with maturing.
|
||||||
|
|
||||||
- Install in `venv`: `maturin develop --release`
|
- Install in `venv`: `maturin develop --release`
|
||||||
- Install in system: `maturin build --release && pip install target/wheels/libpt-x.x.x-*`
|
- Install in system: `maturin build --release && pip install target/wheels/libpt-x.x.x-*`
|
||||||
|
|
||||||
## Installing from [crates.io](https://crates.io)
|
## Installing from [crates.io](https://crates.io)
|
||||||
`libpt` has not yet been packaged for [crates.io](https://crates.io).
|
`libpt` has been packaged for [crates.io](https://crates.io/crates/libpt).
|
||||||
|
|
||||||
|
You can add the library to your project with `cargo add libpt`.
|
||||||
|
|
||||||
## Installing from my personal package registry
|
## Installing from my personal package registry
|
||||||
`libpt` has not yet been packaged for [git.cscherr.de](https://git.cscherr.de).
|
`libpt` has been packaged for [git.cscherr.de](https://git.cscherr.de).
|
||||||
|
|
||||||
|
You can add the registry to your `config.toml` and then `cargo add libpt`
|
||||||
|
|
||||||
|
[Package](https://git.cscherr.de/PlexSheep/-/packages/cargo/libpt/)
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
Testing needs to be done separately for the rust and python parts:
|
Testing needs to be done separately for the rust and python parts:
|
||||||
|
|
Reference in New Issue