Configure registry
This commit is contained in:
parent
0c37523329
commit
183cf43c86
3 changed files with 17 additions and 1 deletions
|
|
@ -2,12 +2,19 @@
|
|||
|
||||
A procedural macro that removes leading indentation from string literals.
|
||||
|
||||
`.cargo/config.toml`:
|
||||
```toml
|
||||
[registries.nettika]
|
||||
index = "sparse+https://forge.leaf.ninja/api/packages/nettika/cargo/"
|
||||
```
|
||||
|
||||
`Cargo.toml`:
|
||||
```toml
|
||||
[dependencies]
|
||||
dedent = { version = "0.1", registry = "nettika" }
|
||||
```
|
||||
|
||||
## Example
|
||||
## Usage
|
||||
|
||||
```rust
|
||||
use dedent::dedent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue