stio/
lib.rs

1// Copyright 2024 Ahmed Charles <me@ahmedcharles.com>
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Single-Threaded I/O.
16
17#![warn(absolute_paths_not_starting_with_crate)]
18#![warn(deprecated_in_future)]
19#![warn(elided_lifetimes_in_paths)]
20#![warn(explicit_outlives_requirements)]
21#![warn(ffi_unwind_calls)]
22#![warn(keyword_idents)]
23#![warn(let_underscore_drop)]
24#![warn(macro_use_extern_crate)]
25#![warn(meta_variable_misuse)]
26#![warn(missing_abi)]
27#![warn(missing_copy_implementations)]
28#![warn(missing_debug_implementations)]
29#![warn(missing_docs)]
30#![warn(non_ascii_idents)]
31#![warn(single_use_lifetimes)]
32#![warn(trivial_casts)]
33#![warn(trivial_numeric_casts)]
34#![warn(unit_bindings)]
35#![warn(unreachable_pub)]
36#![warn(unsafe_code)]
37#![warn(unsafe_op_in_unsafe_fn)]
38#![warn(unused_extern_crates)]
39#![warn(unused_import_braces)]
40#![warn(unused_lifetimes)]
41#![warn(unused_macro_rules)]
42#![warn(unused_qualifications)]
43#![warn(unused_results)]
44#![warn(unused_tuple_struct_fields)]
45#![warn(variant_size_differences)]
46#![warn(clippy::absolute_paths)]
47#![warn(clippy::let_underscore_must_use)]
48#![warn(clippy::let_underscore_untyped)]
49#![warn(clippy::missing_docs_in_private_items)]
50#![warn(clippy::missing_assert_message)]
51#![warn(clippy::multiple_unsafe_ops_per_block)]
52#![warn(clippy::pattern_type_mismatch)]
53#![warn(clippy::pub_without_shorthand)]
54#![warn(clippy::undocumented_unsafe_blocks)]
55#![warn(clippy::unwrap_used)]
56#![warn(clippy::cargo)]
57#![warn(clippy::pedantic)]
58#![allow(clippy::missing_errors_doc)]
59#![allow(clippy::must_use_candidate)]
60#![allow(clippy::needless_pass_by_value)]
61
62pub mod net;
63pub mod runtime;
64mod task;