├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── src ├── lib.rs └── parse.rs └── tests ├── compiletest.rs ├── test.rs └── ui ├── empty_enum.rs ├── empty_enum.stderr ├── missing_repr.rs ├── missing_repr.stderr ├── multiple_others.rs ├── multiple_others.stderr ├── non_unit_variant.rs ├── non_unit_variant.stderr ├── not_enum.rs ├── not_enum.stderr ├── repr_c.rs └── repr_c.stderr /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: dtolnay 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /Cargo.lock 3 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/README.md -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/src/parse.rs -------------------------------------------------------------------------------- /tests/compiletest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/compiletest.rs -------------------------------------------------------------------------------- /tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/test.rs -------------------------------------------------------------------------------- /tests/ui/empty_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/empty_enum.rs -------------------------------------------------------------------------------- /tests/ui/empty_enum.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/empty_enum.stderr -------------------------------------------------------------------------------- /tests/ui/missing_repr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/missing_repr.rs -------------------------------------------------------------------------------- /tests/ui/missing_repr.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/missing_repr.stderr -------------------------------------------------------------------------------- /tests/ui/multiple_others.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/multiple_others.rs -------------------------------------------------------------------------------- /tests/ui/multiple_others.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/multiple_others.stderr -------------------------------------------------------------------------------- /tests/ui/non_unit_variant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/non_unit_variant.rs -------------------------------------------------------------------------------- /tests/ui/non_unit_variant.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/non_unit_variant.stderr -------------------------------------------------------------------------------- /tests/ui/not_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/not_enum.rs -------------------------------------------------------------------------------- /tests/ui/not_enum.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/not_enum.stderr -------------------------------------------------------------------------------- /tests/ui/repr_c.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/repr_c.rs -------------------------------------------------------------------------------- /tests/ui/repr_c.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dtolnay/serde-repr/HEAD/tests/ui/repr_c.stderr --------------------------------------------------------------------------------