1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! LibrePCB Core Library

// Fail on warnings if feature "fail-on-warnings" is enabled.
#![cfg_attr(feature = "fail-on-warnings", deny(warnings))]
#![warn(missing_docs)]
#![warn(clippy::missing_docs_in_private_items)]

// Disable FFI functions for tests since it would lead to unresolved symbol
// linker errors.
#[cfg(not(test))]
mod ffi;

// Modules
mod toolbox;

// Allow using the create! macro to create parametrized tests in test modules
// without explicitly importing the parameterized_test crate every time.
#[cfg(test)]
#[macro_use]
extern crate parameterized_test;