Change mammut references to elefren

This commit is contained in:
Paul Woolcock
2018-08-21 17:01:05 -04:00
parent ecb8629a53
commit a9b6b52890
8 changed files with 42 additions and 42 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
extern crate mammut;
extern crate elefren;
extern crate toml;
pub use self::mammut::MastodonClient;
pub use self::elefren::MastodonClient;
use std::{
error::Error,
@@ -9,7 +9,7 @@ use std::{
io,
};
use self::mammut::{
use self::elefren::{
apps::{
AppBuilder,
Scopes
@@ -36,10 +36,10 @@ pub fn get_mastodon_data() -> Result<Mastodon, Box<Error>> {
pub fn register() -> Result<Mastodon, Box<Error>> {
let app = AppBuilder {
client_name: "mammut-examples",
client_name: "elefren-examples",
redirect_uris: "urn:ietf:wg:oauth:2.0:oob",
scopes: Scopes::All,
website: Some("https://github.com/Aaronepower/mammut"),
website: Some("https://github.com/pwoolcoc/elefren"),
};
let website = read_line("Please enter your mastodon instance url:")?;