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"
|
||||
|
||||
[[package]]
|
||||
name = "from_file"
|
||||
name = "filecaster"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"merge",
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "from_file"
|
||||
name = "filecaster"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
|
||||
description = "Procedural macro to derive configuration from files, with optional merging capabilities."
|
||||
repository = "https://github.com/kristoferssolo/from_file"
|
||||
documentation = "https://docs.rs/from_file"
|
||||
homepage = "https://github.com/kristoferssolo/from_file"
|
||||
repository = "https://github.com/kristoferssolo/filecaster"
|
||||
documentation = "https://docs.rs/filecaster"
|
||||
homepage = "https://github.com/kristoferssolo/filecaster"
|
||||
license = "MIT OR Apache-2.0"
|
||||
keywords = [
|
||||
"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.
|
||||
|
||||
@ -10,14 +10,15 @@ Procedural macro to derive configuration from files, with optional merging capab
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
cargo add hexlab
|
||||
```toml
|
||||
[dependencies]
|
||||
filecaster = "0.1"
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
```rust
|
||||
use from_file::FromFile;
|
||||
use filecaster::FromFile;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Clone, Default, Deserialize, Serialize, FromFile)]
|
||||
@ -47,7 +48,7 @@ fn main() {
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user