mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-03 06:42:16 +00: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:
parent
7bf699cdcd
commit
bf56a7fc80
26 changed files with 38 additions and 7 deletions
|
@ -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)]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#![doc = include_str!("../README.md")]
|
||||
#![allow(clippy::arithmetic_side_effects)] // FIXME: remove
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#![doc = include_str!("../README.md")]
|
||||
|
||||
// TODO: #![warn(missing_docs)]
|
||||
|
||||
extern crate 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,4 @@
|
|||
#![doc = include_str!("../README.md")]
|
||||
#![allow(clippy::new_without_default)] // Default trait can’t be used by wasm consumer anyway
|
||||
#![allow(unsafe_op_in_unsafe_fn)] // We can’t control code generated by `wasm-bindgen`
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
//! Rust implementation of the Remote Desktop Protocol (RDP).
|
||||
//!
|
||||
//! This is a meta crate re-exporting other ironrdp crates for convenience.
|
||||
#![doc = include_str!("../../../README.md")]
|
||||
|
||||
#[cfg(feature = "acceptor")]
|
||||
pub use ironrdp_acceptor as acceptor;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
//! This crate provides implementation of [NOW_PROTO] protocol.
|
||||
//!
|
||||
//! [NOW_PROTO]: ../../../docs/NOW-spec.md
|
||||
#![doc = include_str!("../README.md")]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
extern crate alloc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue