[dependencies]
utoipa = { version = "4", features = ["yaml"] }
However, compilation of my library fails since version 4.3.0 (dependency on utoipa-gen 4.3.0) with the following compile error:
error[E0446]: crate-private type `parse_utils::Str` in public interface
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/utoipa-gen-4.3.0/src/lib.rs:2847:5
|
2847 | pub fn parse_next_literal_str_or_include_str(input: ParseStream) -> syn::Result<Str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private type
...
2921 | pub(super) enum Str {
| ------------------- `parse_utils::Str` declared as crate-private
For more information about this error, try `rustc --explain E0446`.
My
Cargo.toml
is referencing utoipa as follows:However, compilation of my library fails since version 4.3.0 (dependency on utoipa-gen 4.3.0) with the following compile error:
utopia-gen
4.2.0 is working for me.