Skip to main content

gen_linkedin/
lib.rs

1#![forbid(unsafe_code)]
2#![warn(missing_docs, rust_2018_idioms)]
3#![warn(clippy::all, rustdoc::broken_intra_doc_links)]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5#![doc = include_str!("../README.md")]
6
7//! gen-linkedin: Minimal LinkedIn API client for CI usage
8//!
9//! This crate exposes a small surface area focused on creating text posts for
10//! release announcements. HTTP and auth details are encapsulated so callers only
11//! need to provide an access token and author URN.
12
13/// Token providers for bearer tokens used to authenticate with LinkedIn.
14pub mod auth;
15/// Base HTTP client wrapper shared by feature modules.
16pub mod client;
17/// Error types returned by this crate.
18pub mod error;
19/// LinkedIn Posts API (REST) support.
20#[cfg(feature = "posts")]
21pub mod posts;
22
23pub use crate::error::Error;