mirror of
https://github.com/kristoferssolo/filecaster.git
synced 2025-10-21 19:00:34 +00:00
chore: rename project
This commit is contained in:
parent
4a0ac666ac
commit
87145a157b
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -9,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "from_file"
|
name = "filecaster"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"merge",
|
"merge",
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "from_file"
|
name = "filecaster"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
|
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
|
||||||
description = "Procedural macro to derive configuration from files, with optional merging capabilities."
|
description = "Procedural macro to derive configuration from files, with optional merging capabilities."
|
||||||
repository = "https://github.com/kristoferssolo/from_file"
|
repository = "https://github.com/kristoferssolo/filecaster"
|
||||||
documentation = "https://docs.rs/from_file"
|
documentation = "https://docs.rs/filecaster"
|
||||||
homepage = "https://github.com/kristoferssolo/from_file"
|
homepage = "https://github.com/kristoferssolo/filecaster"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
keywords = [
|
keywords = [
|
||||||
"proc-macro",
|
"proc-macro",
|
||||||
|
|||||||
11
README.md
11
README.md
@ -1,4 +1,4 @@
|
|||||||
# `from_file`
|
# derive(FromFile)
|
||||||
|
|
||||||
Procedural macro to derive configuration from files, with optional merging capabilities.
|
Procedural macro to derive configuration from files, with optional merging capabilities.
|
||||||
|
|
||||||
@ -10,14 +10,15 @@ Procedural macro to derive configuration from files, with optional merging capab
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```sh
|
```toml
|
||||||
cargo add hexlab
|
[dependencies]
|
||||||
|
filecaster = "0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use from_file::FromFile;
|
use filecaster::FromFile;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
#[derive(Debug, Clone, Default, Deserialize, Serialize, FromFile)]
|
#[derive(Debug, Clone, Default, Deserialize, Serialize, FromFile)]
|
||||||
@ -47,7 +48,7 @@ fn main() {
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Full documentation is available at [docs.rs](https://docs.rs/from_file).
|
Full documentation is available at [docs.rs](https://docs.rs/filecaster).
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user