1 viewer
rust 1,859,968 · typescript 235,218 · javascript 132,952 · python 20,426 · 6,406 files · digest c536f05fc420 · built in 1.4 s · crystals off
crates/cre8-app-image/src/providers/mod.rs
Items
const IMAGE_HTTP_READ_TIMEOUT_SECS const IMAGE_MAX_BODY_BYTES const IMAGE_MAX_JSON_BODY_BYTES const MAX_ERROR_DETAIL_BYTES enum ImageMime impl ImageMime struct GenerateRequest struct GenerateOutput trait ImageGenProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 21 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| image_http_availablesrc/providers/mod.rs:30 | fn | 3 | 1 | 17 | 0 | 3.8 | |
| service_credentialsrc/providers/mod.rs:171 | fn | 3 | 1 | 10 | 2 | 2.6 | |
| all_providerssrc/providers/mod.rs:179 | fn | 9 | 1 | 3 | 0 | 1.9 | |
| auto_provider_ranksrc/providers/mod.rs:252 | fn | 5 | 1 | 3 | 0 | 1.9 | |
| sanitize_error_bodysrc/providers/mod.rs:65 | fn | 35 | 6 | 1 | 0 | 1.9 | |
| image_error_bodysrc/providers/mod.rs:60 | fn | 4 | 1 | 3 | 1 | 1.6 | |
| post_image_jsonsrc/providers/mod.rs:34 | fn | 18 | 1 | 4 | 0 | 1.6 | |
| provider_forsrc/providers/mod.rs:213 | fn | 19 | 3 | 2 | 2 | 1.3 | |
| parse_image_response_jsonsrc/providers/mod.rs:53 | fn | 6 | 2 | 2 | 0 | 1 | |
| provider_for_with_contextsrc/providers/mod.rs:233 | fn | 18 | 3 | 2 | 2 | 1 | |
| vault_credentialsrc/providers/mod.rs:175 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| ImageMime::as_strsrc/providers/mod.rs:108 | method | 6 | 2 | 0 | 0 | 0.5 | |
| ImageGenProvider::validate_requestsrc/providers/mod.rs:154 | trait default | 1 | 1 | 0 | 0 | 0.5 | |
| ImageGenProvider::is_available_with_contextsrc/providers/mod.rs:158 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| ImageGenProvider::unavailable_reason_with_contextsrc/providers/mod.rs:162 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| ImageGenProvider::generate_with_contextsrc/providers/mod.rs:166 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| list_providerssrc/providers/mod.rs:189 | fn | 21 | 1 | 0 | 1 | 0.5 | |
| generate_viasrc/providers/mod.rs:258 | fn | 12 | 2 | 0 | 1 | 0.5 | |
| generate_via_with_contextsrc/providers/mod.rs:271 | fn | 16 | 2 | 0 | 1 | 0.5 | |
| auto_routing_ranks_production_before_preview_fallbacksrc/providers/mod.rs:293 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| auto_routing_always_has_the_preview_fallbacksrc/providers/mod.rs:300 | fn | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.