Commit Graph

  • 15c729d5f7 Bump version to 0.2.5 main v0.2.5 Lukas Kalbertodt 2023-12-10 12:20:59 +01:00
  • 042c78f3ab Allow "yes" & "no" for bool env vars and do case-insensitive matching Lukas Kalbertodt 2023-12-10 11:11:06 +01:00
  • fa79a463b8 Add #[config(partial_attr(...))] to add attributes for partial type Lukas Kalbertodt 2023-12-08 18:15:50 +01:00
  • 830ca775cb Fix typo in docs Lukas Kalbertodt 2023-12-08 17:07:07 +01:00
  • 698357332a Remove leftover dummy code in docs Lukas Kalbertodt 2023-12-08 17:06:10 +01:00
  • 0a79a43a72 Bump version to 0.2.4 0.2.4 Lukas Kalbertodt 2023-07-02 10:14:35 +02:00
  • 4fdfb821dc Fix enum deserialization from env values Lukas Kalbertodt 2023-07-02 10:13:04 +02:00
  • 29a5c05770 Bump version to 0.2.3 v0.2.3 Lukas Kalbertodt 2023-03-10 13:06:09 +01:00
  • 20f0379706 Change template::format to not be generic over C Lukas Kalbertodt 2023-03-10 12:58:07 +01:00
  • 2c19c0eed9 Add #![allow(missing_docs)] to generated "partial" mods Lukas Kalbertodt 2023-01-15 18:01:10 +01:00
  • 4f72a14c60 Add docs to generated "partial" mods Lukas Kalbertodt 2023-01-15 17:56:26 +01:00
  • 9d6ea4769a Merge pull request #27 from LukasKalbertodt/add-ci-basic-style-check Lukas Kalbertodt 2023-01-15 17:06:04 +01:00
  • 079738be65 Wrap long lines Lukas Kalbertodt 2023-01-15 17:02:43 +01:00
  • bd3a803893 Add a basic style check to CI Lukas Kalbertodt 2023-01-15 17:01:18 +01:00
  • 281e390dd4 Fix CI badge in README Lukas Kalbertodt 2022-12-25 15:46:32 +01:00
  • 7830f326dd Bump version to 0.2.2 v0.2.2 Lukas Kalbertodt 2022-11-25 10:04:47 +01:00
  • c6ee971f0d Add test to make sure all emitted symbols use fully qualified paths Lukas Kalbertodt 2022-11-25 10:00:47 +01:00
  • 101a60d7ae Use fully qualified paths for all symbols emitted by macro Lukas Kalbertodt 2022-11-25 10:00:31 +01:00
  • f4e51534c3 Merge pull request #23 from aschey/result-fix Lukas Kalbertodt 2022-11-25 09:53:27 +01:00
  • 87967d4278 fix: use fully qualified path for results Austin Schey 2022-11-24 18:21:45 -06:00
  • ad4885032e Bump version to 0.2.1 v0.2.1 Lukas Kalbertodt 2022-11-06 12:33:18 +01:00
  • c1ec9477b2 Update to serde 0.9 Lukas Kalbertodt 2022-11-06 12:44:27 +01:00
  • f1afaa8cc2 Split env module into multiple files Lukas Kalbertodt 2022-11-06 12:17:22 +01:00
  • 692ccf10c2 Deduplicate some code Lukas Kalbertodt 2022-11-06 10:44:48 +01:00
  • bcab519b4a Merge pull request #22 from cyphersnake/10-lists-maps-from-env Lukas Kalbertodt 2022-11-06 12:29:43 +01:00
  • 9d57b048ce Improve documentation Lukas Kalbertodt 2022-11-06 12:24:10 +01:00
  • 49828fc2e3 Change API of parse_env functions Lukas Kalbertodt 2022-11-06 12:14:47 +01:00
  • e2dded17fa Change parse_env error type from Debug to impl std::error::Error Lukas Kalbertodt 2022-11-06 11:23:21 +01:00
  • 1e74330f00 Improve formatting slightly Lukas Kalbertodt 2022-11-06 10:37:58 +01:00
  • cb8f879b92 Add parse_env attribute to confique::Config macro Cyphersnake 2022-10-24 17:25:10 +04:00
  • 337fb3204f Fix some clippy warnings Lukas Kalbertodt 2022-10-24 10:17:51 +02:00
  • 0e47eb7acf Format code Lukas Kalbertodt 2022-10-24 10:13:06 +02:00
  • 324cedee47 Bump version to 0.2.0 and update changelog v0.2.0 Lukas Kalbertodt 2022-10-21 19:03:49 +02:00
  • 73796ae676 Adjust README Lukas Kalbertodt 2022-10-21 18:27:05 +02:00
  • d1a62e47eb Add map default values (e.g. default = { "foo": 33 }) Lukas Kalbertodt 2022-10-21 18:13:59 +02:00
  • 093957b515 Add array default value to formatting test example 1 Lukas Kalbertodt 2022-10-21 17:21:54 +02:00
  • 3c75b9a325 Fix type inference error for empty arrays as default values Lukas Kalbertodt 2022-10-21 16:16:20 +02:00
  • 2e432b1f4a Improve docs Lukas Kalbertodt 2022-10-21 15:27:21 +02:00
  • 2bf2727875 Mark some types in meta as #[non_exhaustive] Lukas Kalbertodt 2022-10-21 14:57:43 +02:00
  • 52b9369f9a Make all FormatOptions #[non_exhaustive] Lukas Kalbertodt 2022-10-21 14:55:30 +02:00
  • bc03ecaf4e Remove a bunch of cfg attributes Lukas Kalbertodt 2022-10-21 13:01:21 +02:00
  • 4533f2b2d4 Fix visibility of template module and items Lukas Kalbertodt 2022-10-21 12:39:41 +02:00
  • a784e6ee64 Rename format to template (except template::format()) Lukas Kalbertodt 2022-10-21 12:02:13 +02:00
  • 9b9610a6ac Add JSON5 support Lukas Kalbertodt 2022-10-19 17:22:43 +02:00
  • 6a9ccd4e22 Do major refactor of format code Lukas Kalbertodt 2022-10-19 17:12:32 +02:00
  • 44f59f415a Implement Serialize for meta::Expr and use it in PrintExpr Lukas Kalbertodt 2022-10-19 17:10:17 +02:00
  • 4f5c458150 Add YAML formatting tests Lukas Kalbertodt 2022-10-19 10:11:43 +02:00
  • 736584ad9d Fix incorrect newlines in yaml::format Lukas Kalbertodt 2022-10-19 10:11:33 +02:00
  • dd55a17b14 Show env key in config template Lukas Kalbertodt 2022-10-18 16:07:51 +02:00
  • d03d1e0799 Add tests checking many of the standard usages of this lib Lukas Kalbertodt 2022-10-17 17:55:30 +02:00
  • 30fbc4f256 Fix name clash issue of helper deserialize functions Lukas Kalbertodt 2022-10-17 17:14:01 +02:00
  • 075078ac89 Slightly simplify generated code Lukas Kalbertodt 2022-10-17 14:50:53 +02:00
  • 52cea84028 Add test for array default values Lukas Kalbertodt 2022-10-17 12:38:05 +02:00
  • 37bb6b6b14 Add PartialEq impls to all meta items Lukas Kalbertodt 2022-10-17 12:37:22 +02:00
  • 4c40a35959 Move code around in macro crate Lukas Kalbertodt 2022-10-17 11:55:29 +02:00
  • f0895a8b2f Add support for array default values Lukas Kalbertodt 2022-10-17 11:28:12 +02:00
  • 0677f751aa Fix bug with float type inference for meta::Expr Lukas Kalbertodt 2022-10-16 20:13:56 +02:00
  • 5c3315b015 Move to Rust edition 2021 Lukas Kalbertodt 2022-10-14 16:42:49 +02:00
  • 90344ebd36 Bump version to 0.1.4 v0.1.4 Lukas Kalbertodt 2022-10-14 16:30:06 +02:00
  • eb03488973 Fix using env with deserialize_with Lukas Kalbertodt 2022-10-14 16:21:34 +02:00
  • 04f7f6b3be Remove leftover comment Lukas Kalbertodt 2022-10-11 15:15:09 +02:00
  • 6f8ff66f29 Use proper action for Rust caching in CI Lukas Kalbertodt 2022-10-11 13:22:30 +02:00
  • 963e4745a3 Allow unused test utility Lukas Kalbertodt 2022-10-11 13:17:19 +02:00
  • 65d0b7ca17 Fix minor docs formatting issue Lukas Kalbertodt 2022-10-11 12:59:54 +02:00
  • 6c35c85008 Bump version to 0.1.3 v0.1.3 Lukas Kalbertodt 2022-04-07 17:29:12 +02:00
  • 56f8ff24d5 Improve toml::format regarding space above nested objects Lukas Kalbertodt 2022-04-07 17:19:38 +02:00
  • 8db8fcafc4 Add two toml::format tests Lukas Kalbertodt 2022-04-07 14:00:56 +02:00
  • ed141ab54d Fix generation bug for pub and pub(in path) structs Lukas Kalbertodt 2022-04-07 13:59:09 +02:00
  • 6c9f398065 Allow unused fields in example Lukas Kalbertodt 2022-03-30 17:41:51 +02:00
  • 2f0f749c74 Bump version to 0.1.2 and adjust changelog v0.1.2 Lukas Kalbertodt 2022-03-30 17:39:05 +02:00
  • 1c6ecdd4ad Fix doctests using derive Lukas Kalbertodt 2022-03-30 17:38:39 +02:00
  • e801403009 Fix output of toml::format by always handling leaf fields first Lukas Kalbertodt 2022-03-30 16:15:27 +02:00
  • cc1681bf53 Bump version to 0.1.1 v0.1.1 Lukas Kalbertodt 2021-11-03 16:09:13 +01:00
  • a50f78e938 Add deserialize_with attribute that is forwarded to serde Lukas Kalbertodt 2021-11-03 16:01:57 +01:00
  • a54042f8ca Revert "Replace some manual parsing code with darling helper crate" Lukas Kalbertodt 2021-11-03 14:58:23 +01:00
  • e5af4f8efe Replace some manual parsing code with darling helper crate Lukas Kalbertodt 2021-11-03 11:46:33 +01:00
  • 608b978341 Slightly improve derive error message for nested fields not impl Config Lukas Kalbertodt 2021-10-26 16:18:29 +02:00
  • 3c5b72220a Improve derive error messages when fields don't implement Deserialize Lukas Kalbertodt 2021-10-26 16:19:33 +02:00
  • 4f4f42e8f3 Disable some code (and fix others) when no features are enabled v0.1.0 Lukas Kalbertodt 2021-07-28 12:38:50 +02:00
  • 1a8e9440cc Minor README improvements Lukas Kalbertodt 2021-07-28 12:16:13 +02:00
  • a326afa4b1 Add changelog Lukas Kalbertodt 2021-07-28 12:12:44 +02:00
  • f0648d722e Prepare macro crate for release Lukas Kalbertodt 2021-07-28 12:11:32 +02:00
  • e35be71665 Add metadata to Cargo.toml Lukas Kalbertodt 2021-07-28 12:09:04 +02:00
  • b7515239e5 Remove useless dev-dependencies Lukas Kalbertodt 2021-07-28 12:06:04 +02:00
  • 313d143486 Remove Debug impls and syn's extra-trait features Lukas Kalbertodt 2021-07-28 12:03:43 +02:00
  • 8a520927a2 Add crate-level documentation Lukas Kalbertodt 2021-07-28 12:02:09 +02:00
  • 276e9a30cd Add comparisons to other libraries to README Lukas Kalbertodt 2021-07-27 18:01:49 +02:00
  • 69142ceaeb Add README Lukas Kalbertodt 2021-07-27 17:33:29 +02:00
  • 00dbe4dc0a Fix compilation failure for --no-default-features Lukas Kalbertodt 2021-07-27 17:16:06 +02:00
  • cdda7c5303 Add GitHub Actions CI script Lukas Kalbertodt 2021-07-27 16:35:07 +02:00
  • c904181b6b Add license Lukas Kalbertodt 2021-07-27 16:32:26 +02:00
  • cc1a0eba5e Minor documentation improvements Lukas Kalbertodt 2021-07-27 16:20:24 +02:00
  • a86ab50588 Add more documentation to Config trait and derive Lukas Kalbertodt 2021-07-27 16:15:05 +02:00
  • 78b2db26e1 Allow multiple attributes in one #[config(...)] Lukas Kalbertodt 2021-07-27 16:14:49 +02:00
  • b6046d7f4d Add #[automatically_derive] attribute to emitted impl blocks Lukas Kalbertodt 2021-07-27 16:14:17 +02:00
  • 271a807ab0 Fix emission of TOML strings (in particular, quoting) Lukas Kalbertodt 2021-07-27 15:10:07 +02:00
  • 0bc105b22d Add yaml::format Lukas Kalbertodt 2021-07-27 15:05:07 +02:00
  • 74ce2daf05 Add Builder::env to read environment variables Lukas Kalbertodt 2021-07-27 01:14:00 +02:00
  • aa5eb06f49 Add Partial::from_env and implement it in derive macro Lukas Kalbertodt 2021-07-27 01:12:57 +02:00
  • 3ac922ca2f Add deserialization logic for reading values from environment variables Lukas Kalbertodt 2021-07-27 01:10:12 +02:00