mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
docs: use README.md for crates lib.rs doc
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
committed by
Benoît Cortier
parent
7bf699cdcd
commit
bf56a7fc80
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
use bitflags::bitflags;
|
||||
use ironrdp_dvc::DvcEncode;
|
||||
use num_derive::{FromPrimitive, ToPrimitive};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
||||
@@ -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,3 +1,4 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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,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,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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
use core::fmt;
|
||||
|
||||
use der::asn1::OctetString;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub mod client;
|
||||
pub mod pdu;
|
||||
pub mod server;
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user