Ralph Bisschops
Ralph Bisschops
We use [`iso639-1`](https://crates.io/crates/iso639-1) in our tool. But this is flagged as unused. This is most likely because of the `-` in the crate name. The actual use is `iso639_1::something()` So...
Google bucket names are not allowed to contain uppercase characters. The library should maybe filter/cast the bucket name strings to force these rules on the string. For more info: https://cloud.google.com/storage/docs/naming-buckets
Currently [Objects rewrite](https://cloud.google.com/storage/docs/json_api/v1/objects/rewrite) is not fully supported. The is because the requester should check if the `done` flag is set to `true`, as described here: > This method copies data...
Some conditions are not available in [`Condition`](https://github.com/ThouCheese/cloud-storage-rs/blob/cee9786d7aae821e0615d2420e94434f4dce41eb/src/resources/bucket.rs#L293). https://cloud.google.com/storage/docs/json_api/v1/buckets#lifecycle https://cloud.google.com/storage/docs/lifecycle#conditions These are missing: - customTimeBefore - daysSinceCustomTime - daysSinceNoncurrentTime - noncurrentTimeBefore Also separate: I think the documentation for `ActionType::Delete` is incorrect...
I'm trying to implement OpenApiFromFormField for [`rocket::fs::TempFile`](https://docs.rs/rocket/0.5.0-rc.1/rocket/fs/enum.TempFile.html). But it looks like Schemars need to implement `JsonSchema` for `TempFile` first. Then I can do `let schema = gen.json_schema::();` and use the...
Should or should we not change the default parsing behavior from the current (removing single `\n` in RustDoc) to just leaving the newline in. To clarify for everyone we are...
Rocket uses [`Date`](https://docs.rs/time/0.2.26/time/date/struct.Date.html) and [`Time`](https://docs.rs/time/0.2.26/time/time_mod/struct.Time.html) as shown here https://docs.rs/rocket/0.5.0-rc.1/rocket/form/trait.FromFormField.html#impl-FromFormField%3C%27v%3E-for-Date in it internal implementations and exposes them to be used. Schemars does not implement `JsonSchema` for them yet. But note that...
When you have a struct with the following structure: ```rust #[derive(Serialize, Deserialize, JsonSchema)] pub struct MyStruct { #[serde(flatten)] pub item: OtherItem, pub my_int: i32, } #[derive(Serialize, Deserialize, JsonSchema)] pub struct...
I was looking for an example of a totally manual implementation of `JsonSchema` but could not find this easily so created one by combining a few different things. Note that...
I'm using the function [`json_schema`](https://docs.rs/schemars/0.8.3/schemars/trait.JsonSchema.html#tymethod.json_schema) and it returns a `$ref` while explicitly stating it should not do this. This happens when `Option` is used. I think this happens [here](https://github.com/GREsau/schemars/blob/55b860428e4526ef34886cb877af58256de6b046/schemars/src/json_schema_impls/core.rs#L38:L44). I'm...