├── .clippy.toml ├── .cspell.json ├── .deny.toml ├── .editorconfig ├── .git-blame-ignore-revs ├── .gitattributes ├── .github ├── .cspell │ ├── project-dictionary.txt │ └── rust-dependencies.txt ├── dependabot.yml ├── workflows │ ├── ci.yml │ └── release.yml └── zizmor.yml ├── .gitignore ├── .markdownlint-cli2.yaml ├── .rustfmt.toml ├── .shellcheckrc ├── .taplo.toml ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── bench ├── Cargo.toml └── bench.rs ├── examples └── get.rs ├── src ├── cfg_expr │ ├── LICENSE-APACHE │ ├── LICENSE-MIT │ ├── error.rs │ ├── expr │ │ ├── lexer.rs │ │ ├── mod.rs │ │ └── parser.rs │ ├── mod.rs │ └── tests │ │ ├── eval.rs │ │ ├── lexer.rs │ │ └── parser.rs ├── de.rs ├── easy.rs ├── env.rs ├── error.rs ├── gen │ ├── de.rs │ ├── is_none.rs │ └── tests │ │ ├── assert_impl.rs │ │ ├── track_size.rs │ │ └── track_size.txt ├── lib.rs ├── merge.rs ├── process.rs ├── resolve.rs ├── value.rs └── walk.rs ├── tests ├── fixtures │ ├── empty │ │ ├── .cargo │ │ │ └── config.toml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── reference │ │ ├── .cargo │ │ │ └── config.toml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ └── target-specs │ │ └── avr-unknown-gnu-atmega2560.json ├── helper │ └── mod.rs └── test.rs └── tools ├── .tidy-check-license-headers ├── codegen ├── Cargo.toml └── src │ ├── file.rs │ └── main.rs ├── gen.sh └── tidy.sh /.clippy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.clippy.toml -------------------------------------------------------------------------------- /.cspell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.cspell.json -------------------------------------------------------------------------------- /.deny.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.deny.toml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.editorconfig -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/.cspell/project-dictionary.txt: -------------------------------------------------------------------------------- 1 | cainfo 2 | DONT 3 | FOLDERID 4 | fxsr 5 | Libsecret 6 | pijul 7 | USERPROFILE 8 | Wincred 9 | -------------------------------------------------------------------------------- /.github/.cspell/rust-dependencies.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.github/.cspell/rust-dependencies.txt -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/zizmor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.github/zizmor.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.gitignore -------------------------------------------------------------------------------- /.markdownlint-cli2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.markdownlint-cli2.yaml -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /.shellcheckrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.shellcheckrc -------------------------------------------------------------------------------- /.taplo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/.taplo.toml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/README.md -------------------------------------------------------------------------------- /bench/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/bench/Cargo.toml -------------------------------------------------------------------------------- /bench/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/bench/bench.rs -------------------------------------------------------------------------------- /examples/get.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/examples/get.rs -------------------------------------------------------------------------------- /src/cfg_expr/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/LICENSE-APACHE -------------------------------------------------------------------------------- /src/cfg_expr/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/LICENSE-MIT -------------------------------------------------------------------------------- /src/cfg_expr/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/error.rs -------------------------------------------------------------------------------- /src/cfg_expr/expr/lexer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/expr/lexer.rs -------------------------------------------------------------------------------- /src/cfg_expr/expr/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/expr/mod.rs -------------------------------------------------------------------------------- /src/cfg_expr/expr/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/expr/parser.rs -------------------------------------------------------------------------------- /src/cfg_expr/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/mod.rs -------------------------------------------------------------------------------- /src/cfg_expr/tests/eval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/tests/eval.rs -------------------------------------------------------------------------------- /src/cfg_expr/tests/lexer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/tests/lexer.rs -------------------------------------------------------------------------------- /src/cfg_expr/tests/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/cfg_expr/tests/parser.rs -------------------------------------------------------------------------------- /src/de.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/de.rs -------------------------------------------------------------------------------- /src/easy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/easy.rs -------------------------------------------------------------------------------- /src/env.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/env.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/gen/de.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/gen/de.rs -------------------------------------------------------------------------------- /src/gen/is_none.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/gen/is_none.rs -------------------------------------------------------------------------------- /src/gen/tests/assert_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/gen/tests/assert_impl.rs -------------------------------------------------------------------------------- /src/gen/tests/track_size.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/gen/tests/track_size.rs -------------------------------------------------------------------------------- /src/gen/tests/track_size.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/gen/tests/track_size.txt -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/merge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/merge.rs -------------------------------------------------------------------------------- /src/process.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/process.rs -------------------------------------------------------------------------------- /src/resolve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/resolve.rs -------------------------------------------------------------------------------- /src/value.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/value.rs -------------------------------------------------------------------------------- /src/walk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/src/walk.rs -------------------------------------------------------------------------------- /tests/fixtures/empty/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/empty/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tests/fixtures/empty/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/empty/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/reference/.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tests/fixtures/reference/.cargo/config.toml -------------------------------------------------------------------------------- /tests/fixtures/reference/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tests/fixtures/reference/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/reference/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/target-specs/avr-unknown-gnu-atmega2560.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tests/fixtures/target-specs/avr-unknown-gnu-atmega2560.json -------------------------------------------------------------------------------- /tests/helper/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tests/helper/mod.rs -------------------------------------------------------------------------------- /tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tests/test.rs -------------------------------------------------------------------------------- /tools/.tidy-check-license-headers: -------------------------------------------------------------------------------- 1 | git ls-files | grep -Ev '^tests/fixtures/' 2 | -------------------------------------------------------------------------------- /tools/codegen/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tools/codegen/Cargo.toml -------------------------------------------------------------------------------- /tools/codegen/src/file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tools/codegen/src/file.rs -------------------------------------------------------------------------------- /tools/codegen/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tools/codegen/src/main.rs -------------------------------------------------------------------------------- /tools/gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tools/gen.sh -------------------------------------------------------------------------------- /tools/tidy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taiki-e/cargo-config2/HEAD/tools/tidy.sh --------------------------------------------------------------------------------