chore: rename project

This commit is contained in:
Kristofers Solo 2025-07-14 18:56:29 +03:00
parent 4a0ac666ac
commit 87145a157b
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
3 changed files with 11 additions and 10 deletions

2
Cargo.lock generated
View File

@ -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",

View File

@ -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",

View File

@ -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