aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/libp2p/tests.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 17:50:30 +0000
committertv <tv@krebsco.de>2026-12-02 17:50:30 +0000
commit9f64a8d003bd301a6499bf7a6f60e6cf0b533162 (patch)
treeba74b70f52fe6eb0c639e272709b1ae33dd8d201 /src/transport/libp2p/tests.rs
parent2be9ca2b75d099a9ca04078f2182acda074ed270 (diff)
config: a named importer used with several variablesHEADmaster
In a file, { NAME = { host = "…", key = "…" } } uses the importer NAME with those variables; { NAME = "REST" } is short for the one variable `name`, which the argument and the placeholder give. A variable the importer is given and never asks for is an error naming it and those it takes, as one it asks for and isn't given is; one that takes none is used with nothing after its name. Such a use is shown as NAME(host = …, key = …), as written, and Source::Named holds the variables, for a program that reports by them.
Diffstat (limited to 'src/transport/libp2p/tests.rs')
0 files changed, 0 insertions, 0 deletions