musket 0.18.0

Musket is a command line interface to send a URL to several destinations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug)]
pub enum DestinationError {
    Bluesky { message: String },
    LinkedIn { message: String },
    Turso { message: String },
}

impl std::fmt::Display for DestinationError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        use DestinationError::{Bluesky, LinkedIn, Turso};
        let output = match self {
            Bluesky { message: m } | LinkedIn { message: m } | Turso { message: m } => m,
        };
        write!(f, "{output}")
    }
}