File tree Expand file tree Collapse file tree 4 files changed +3
-12
lines changed Expand file tree Collapse file tree 4 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ axum = "0.8.1"
4444serial_test = " 3.2.0"
4545signal-hook = " 0.3.17"
4646tokio = { 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 ]
5050default = [" alloy" ]
Original file line number Diff line number Diff line change 11[package ]
2- name = " from-env-macro "
2+ name = " from-env-derive "
33description = " The `FromEnv` derive macro"
44version = " 0.1.0"
55edition = " 2024"
Original file line number Diff line number Diff 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
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments