infobip_sdk 0.6.1

Client SDK to use the Infobip API with pure Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use rustc_version::version;
use std::{error::Error, fs::write};

fn main() -> Result<(), Box<dyn Error>> {
    write(
        "version.txt",
        format!(
            "\"@infobip/rust-sdk/{} rust/{}\"",
            env!("CARGO_PKG_VERSION"),
            version()?
        ),
    )?;

    Ok(())
}