docs: use README.md for crates lib.rs doc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2024-10-29 19:14:20 +09:00
committed by Benoît Cortier
parent 7bf699cdcd
commit bf56a7fc80
26 changed files with 38 additions and 7 deletions
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate tracing;
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
use bitflags::bitflags;
use ironrdp_dvc::DvcEncode;
use num_derive::{FromPrimitive, ToPrimitive};
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate tracing;
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate tracing;
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
#![allow(unused_crate_dependencies)] // false positives because there is both a library and a binary
// No need to be as strict as in production libraries
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate tracing;
+1 -1
View File
@@ -1,5 +1,5 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![doc = include_str!("../README.md")]
#![cfg_attr(not(feature = "std"), no_std)]
#![warn(clippy::std_instead_of_alloc)]
#![warn(clippy::std_instead_of_core)]
#![warn(missing_docs)]
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(not(feature = "std"), no_std)]
#[macro_use]
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature = "alloc")]
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[rustfmt::skip] // do not re-order this pub use
pub use ironrdp_async::*;
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate tracing;
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
#![allow(clippy::arithmetic_side_effects)] // FIXME: remove
#![allow(clippy::cast_lossless)] // FIXME: remove
#![allow(clippy::cast_possible_truncation)] // FIXME: remove
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
use bitvec::array::BitArray;
use bitvec::BitArr;
use ironrdp_pdu::input::fast_path::{FastPathInputEvent, KeyboardFlags};
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
// No need to be as strict as in production libraries
#![allow(clippy::arithmetic_side_effects)]
#![allow(clippy::cast_lossless)]
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
#![allow(clippy::arithmetic_side_effects)] // FIXME: remove
#![allow(clippy::cast_lossless)] // FIXME: remove
#![allow(clippy::cast_possible_truncation)] // FIXME: remove
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
use core::fmt;
use der::asn1::OctetString;
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate tracing;
+2
View File
@@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
pub mod client;
pub mod pdu;
pub mod server;
+1
View File
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
#![allow(clippy::arithmetic_side_effects)] // TODO: should we enable this lint back?
pub use tokio;
@@ -1,3 +1,4 @@
#![doc = include_str!("../README.md")]
// No need to be as strict as in production libraries
#![allow(clippy::arithmetic_side_effects)]
#![allow(clippy::cast_lossless)]

Some files were not shown because too many files have changed in this diff Show More