add more documentation, add doc lint

This commit is contained in:
Vinzenz Schroeter 2024-05-28 19:38:43 +02:00
commit e135bd60a7

View file

@ -1,3 +1,9 @@
//! Build script generating the header for the `servicepoint` C library.
//!
//! When the environment variable `SERVICEPOINT_HEADER_OUT` is set, the header is copied there from
//! the out directory. This can be used to use the build script as a command line tool from other
//! build tools.
use std::{env, fs::copy};
use cbindgen::{generate_with_config, Config};