Configure registry
This commit is contained in:
parent
0c37523329
commit
183cf43c86
3 changed files with 17 additions and 1 deletions
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[registries.nettika]
|
||||
index = "sparse+https://forge.leaf.ninja/api/packages/nettika/cargo/"
|
||||
|
||||
[registry]
|
||||
default = "nettika"
|
||||
|
|
@ -2,6 +2,10 @@
|
|||
name = "dedent"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
publish = ["nettika"]
|
||||
description = "A procedural macro that removes leading indentation from string literals."
|
||||
repository = "https://forge.leaf.ninja/nettika/dedent"
|
||||
readme = "readme.md"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
|||
|
|
@ -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