]> git.proxmox.com Git - cargo.git/commit
Refactor `ConfigKey` to its own file
authorAlex Crichton <alex@alexcrichton.com>
Fri, 27 Sep 2019 18:34:29 +0000 (11:34 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 8 Oct 2019 00:12:03 +0000 (17:12 -0700)
commitc0baf844e3446d6f59e86ca17027a0441987dfb9
tree63b8502e34b5ec72ba4c946a45b6760bbedfebc8
parent0f73320ee7629719e2717a267d46e28550e55802
Refactor `ConfigKey` to its own file

Also make it a little less allocation-heavy by tweaking the API to
encourage incremental building of the key and incremental destruction as
we walk throughout the configuration tree.
src/cargo/util/config/de.rs
src/cargo/util/config/key.rs [new file with mode: 0644]
src/cargo/util/config/mod.rs
src/cargo/util/config/value.rs [new file with mode: 0644]
tests/testsuite/config.rs