1#![warn(
2 explicit_outlives_requirements,
3 macro_use_extern_crate,
4 meta_variable_misuse,
5 missing_abi,
6 missing_docs,
7 noop_method_call,
8 pointer_structural_match,
9 single_use_lifetimes,
10 trivial_casts,
11 trivial_numeric_casts,
12 unsafe_code,
13 unsafe_op_in_unsafe_fn,
14 unused_crate_dependencies,
15 unused_extern_crates,
16 unused_import_braces,
17 unused_lifetimes,
18 unused_qualifications,
19 variant_size_differences,
20 clippy::cargo_common_metadata,
21 clippy::clone_on_ref_ptr,
22 clippy::cognitive_complexity,
23 clippy::create_dir,
24 clippy::dbg_macro,
25 clippy::debug_assert_with_mut_call,
26 clippy::empty_line_after_outer_attr,
27 clippy::fallible_impl_from,
28 clippy::filetype_is_file,
29 clippy::float_cmp_const,
30 clippy::get_unwrap,
31 clippy::if_then_some_else_none,
32 clippy::imprecise_flops,
33 clippy::let_underscore_must_use,
34 clippy::lossy_float_literal,
35 clippy::multiple_inherent_impl,
36 clippy::mutex_integer,
37 clippy::nonstandard_macro_braces,
38 clippy::panic_in_result_fn,
39 clippy::path_buf_push_overwrite,
40 clippy::pedantic,
41 clippy::print_stderr,
42 clippy::print_stdout,
43 clippy::rc_buffer,
44 clippy::rc_mutex,
45 clippy::rest_pat_in_fully_bound_structs,
46 clippy::string_lit_as_bytes,
47 clippy::string_to_string,
48 clippy::suboptimal_flops,
49 clippy::suspicious_operation_groupings,
50 clippy::todo,
51 clippy::trivial_regex,
52 clippy::unimplemented,
53 clippy::unnecessary_self_imports,
54 clippy::unneeded_field_pattern,
55 clippy::use_debug,
56 clippy::use_self,
57 clippy::useless_let_if_seq,
58 clippy::useless_transmute,
59 clippy::verbose_file_reads,
60 clippy::wildcard_dependencies
61)]
62#![no_std]
63
64pub use self::fmt_debug::{fmt_debug, FmtDebug};
68pub use self::fmt_display::{fmt_display, FmtDisplay};
69pub use self::fmt_fn::{fmt_fn, FmtFn};
70pub use self::fmt_list::{fmt_debug_list, fmt_display_list, FmtDebugList, FmtDisplayList};
71pub use self::fmt_map::{fmt_debug_map, fmt_display_map, FmtDebugMap, FmtDisplayMap};
72pub use self::fmt_separated_list::{
73 fmt_separated_debug_list, fmt_separated_display_list, FmtSeparatedDebugList, FmtSeparatedDisplayList,
74};
75pub use self::fmt_set::{fmt_debug_set, fmt_display_set, FmtDebugSet, FmtDisplaySet};
76
77#[cfg(test)]
78extern crate std;
79
80mod fmt_debug;
81mod fmt_display;
82mod fmt_fn;
83mod fmt_list;
84mod fmt_map;
85mod fmt_separated_list;
86mod fmt_set;
87mod format_args_owned;