thunderstore_api/lib.rs
1////////////////////////////////////////////////////////////////////////////////
2// This Source Code Form is subject to the terms of the Mozilla Public /
3// License, v. 2.0. If a copy of the MPL was not distributed with this /
4// file, You can obtain one at https://mozilla.org/MPL/2.0/. /
5////////////////////////////////////////////////////////////////////////////////
6
7#![warn(clippy::pedantic, clippy::cargo)]
8// Default::default() is more idiomatic imo
9#![allow(clippy::default_trait_access)]
10// too many lines is a dumb metric
11#![allow(clippy::too_many_lines)]
12// as is fine, clippy is silly
13#![allow(clippy::cast_lossless)]
14// Not actually going to be a published crate, useless to add
15#![allow(clippy::cargo_common_metadata)]
16// Annoying
17#![allow(clippy::module_name_repetitions)]
18// Some gnarly signature I may eventually refactor into builder
19#![allow(clippy::too_many_arguments)]
20// TODO: actually document functions
21#![allow(clippy::missing_errors_doc)]
22
23#[macro_use]
24extern crate serde_derive;
25
26pub mod apis;
27pub mod models;