From 87145a157b725d5d83f09818a43637f9e9606fd7 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Mon, 14 Jul 2025 18:56:29 +0300 Subject: [PATCH] chore: rename project --- Cargo.lock | 2 +- Cargo.toml | 8 ++++---- README.md | 11 ++++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 91add08..ee3d027 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 0c44471..3697198 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "from_file" +name = "filecaster" version = "0.1.0" edition = "2024" authors = ["Kristofers Solo "] 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", diff --git a/README.md b/README.md index 7285f8b..550e010 100644 --- a/README.md +++ b/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