wasmflow_interface/
lib.rs

1#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/104781277?s=96&v=4")]
2#![doc = include_str!("../README.md")]
3// !!START_LINTS
4// Wasmflow lints
5// Do not change anything between the START_LINTS and END_LINTS line.
6// This is automatically generated. Add exceptions after this section.
7#![deny(
8  clippy::expect_used,
9  clippy::explicit_deref_methods,
10  clippy::option_if_let_else,
11  clippy::await_holding_lock,
12  clippy::cloned_instead_of_copied,
13  clippy::explicit_into_iter_loop,
14  clippy::flat_map_option,
15  clippy::fn_params_excessive_bools,
16  clippy::implicit_clone,
17  clippy::inefficient_to_string,
18  clippy::large_types_passed_by_value,
19  clippy::manual_ok_or,
20  clippy::map_flatten,
21  clippy::map_unwrap_or,
22  clippy::must_use_candidate,
23  clippy::needless_for_each,
24  clippy::needless_pass_by_value,
25  clippy::option_option,
26  clippy::redundant_else,
27  clippy::semicolon_if_nothing_returned,
28  clippy::too_many_lines,
29  clippy::trivially_copy_pass_by_ref,
30  clippy::unnested_or_patterns,
31  clippy::future_not_send,
32  clippy::useless_let_if_seq,
33  clippy::str_to_string,
34  clippy::inherent_to_string,
35  clippy::let_and_return,
36  clippy::string_to_string,
37  clippy::try_err,
38  clippy::if_then_some_else_none,
39  bad_style,
40  clashing_extern_declarations,
41  const_err,
42  dead_code,
43  deprecated,
44  explicit_outlives_requirements,
45  improper_ctypes,
46  invalid_value,
47  missing_copy_implementations,
48  missing_debug_implementations,
49  mutable_transmutes,
50  no_mangle_generic_items,
51  non_shorthand_field_patterns,
52  overflowing_literals,
53  path_statements,
54  patterns_in_fns_without_body,
55  private_in_public,
56  trivial_bounds,
57  trivial_casts,
58  trivial_numeric_casts,
59  type_alias_bounds,
60  unconditional_recursion,
61  unreachable_pub,
62  unsafe_code,
63  unstable_features,
64  unused,
65  unused_allocation,
66  unused_comparisons,
67  unused_import_braces,
68  unused_parens,
69  unused_qualifications,
70  while_true,
71  missing_docs
72)]
73#![allow(unused_attributes)]
74// !!END_LINTS
75// Add exceptions here
76#![allow()]
77
78/// Signatures of Wasmflow types.
79mod signatures;
80
81pub use signatures::{
82  CollectionFeatures,
83  CollectionSignature,
84  CollectionVersion,
85  ComponentSignature,
86  EnumSignature,
87  EnumVariant,
88  HostedType,
89  InternalType,
90  StructSignature,
91  TypeDefinition,
92  TypeSignature,
93  WellKnownSchema,
94};
95
96/// Map-related structures holding signatures and other types.
97pub mod maps;
98
99pub use maps::{CollectionMap, ComponentMap, FieldMap, TypeMap};