François Mockers

Results 430 comments of François Mockers
trafficstars

Hello, and thank you for reporting this ! I added a few debug prints on branch [unreachable-null](https://github.com/mockersf/hocon.rs/tree/unreachable-null), could you try it ? Those `Null("484ceb4e-313f-40df-8e4c-e7ed9279e2cc-1")` are created when you concat two...

I pushed a fix for those two issues to master, and also a fix to #27 that I found while trying stuff... Could you test master if it's better for...

should be fixed also, that now gets ``` { "DefaultParsers": [ "asdf", "qwer" ], "WazuhParsers": [ "qwer" ] } ```

You're right, the `""` is not normal... https://github.com/lightbend/config/blob/master/HOCON.md#note-concatenation-with-whitespace-and-substitutions It's not there anymore now, don't know why I removed it from my test case when I copy pasted your example

> ``` > #[derive(Debug, Deserialize)] > struct User { > name: String, > age: u8, > weight: u8, > high: f32, > #[serde(flatten)] > role_type:RoleType > } > ``` You...

you can do it like [this](https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/git/utils.rs#L348) to check the branch to actually get

In my opinion, this would be better as a cargo feature disabling rendering when not needed.

> Can you selectively disable cargo features for specific tests? If so, how? You can select the tests and the features to use when running the command `cargo test`. But...

I renamed "startup" to "initialization" as the resources won't be available for startup systems, to avoid confusion. > Is "every plugin can only exist once" really something we want to...

I added a method `contains_key` that let you check if a plugin is already added before adding it. This could be useful when using plugin A and B which both...