Skip to content

Commit cc31fed

Browse files
committed
fix: toml and stuff
1 parent 35431ff commit cc31fed

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ axum = "0.8.1"
4444
serial_test = "3.2.0"
4545
signal-hook = "0.3.17"
4646
tokio = { version = "1.43.0", features = ["macros"] }
47-
from-env-macro = { path = "./from-env-macro" }
47+
from-env-derive = { path = "./from-env-derive" }
4848

4949
[features]
5050
default = ["alloy"]

from-env-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "from-env-macro"
2+
name = "from-env-derive"
33
description = "The `FromEnv` derive macro"
44
version = "0.1.0"
55
edition = "2024"

from-env-derive/tests/macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub struct FromEnvTest {
55
/// This is a guy named tony
66
/// He is cool
77
/// He is a good guy
8-
#[from_env(var = "FIELD1")]
8+
#[from_env(var = "FIELD1", desc = "Tony is cool and a u8")]
99
pub tony: u8,
1010

1111
/// This guy is named charles

tests/macro.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)