musket 0.15.1

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
17
18
#[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::*;
        let output = match self {
            Bluesky { message: m } => m,
            LinkedIn { message: m } => m,
            Turso { message: m } => m,
        };
        write!(f, "{output}")
    }
}