You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
developerworks
committed
Sync docs and add workspace root READMEs
- Bump version references from 0.1 to 0.2 across all translations
- Migrate CLI override examples to ConfigOverrides derive macro
- Document ConfigSchema derive macro in schema.md and all READMEs
- Fix transparent-sections.md: remove into_vec, Deref claims
- Add bilingual workspace root README (en/zh) with index page
Copy file name to clipboardExpand all lines: rust-config-tree/README.fi.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Sovellukset tarjoavat skeemansa johtamalla `confique::Config`-traitin ja toteutt
32
32
33
33
```toml
34
34
[dependencies]
35
-
rust-config-tree = "0.1"
35
+
rust-config-tree = "0.2"
36
36
confique = { version = "0.4", features = ["yaml", "toml", "json5"] }
37
37
figment = { version = "0.10", features = ["yaml", "toml", "json", "env"] }
38
38
schemars = { version = "1", features = ["derive"] }
@@ -42,7 +42,34 @@ clap = { version = "4", features = ["derive"] }
42
42
43
43
## Konfiguraatioskeema
44
44
45
-
Sovelluksen skeema omistaa include-kentan. `rust-config-tree` tarvitsee vain pienen sovittimen, joka poimii includet valiaikaisesta `confique`-kerroksesta.
45
+
Yksinkertaisin tapa kytkea skeema on johtaa `ConfigSchema``confique::Config`-rinnalla. Johdannainen makro odottaa kenttaa nimelta `include`, tyypilta `Vec<PathBuf>`, jossa on `#[config(default = [])]`-attribuutti:
0 commit comments