This commit is contained in:
Alex Janka 2024-02-12 11:31:15 +11:00
parent b110f48b3b
commit cbe03b418a
3 changed files with 4 additions and 3 deletions

2
Cargo.lock generated
View file

@ -1517,7 +1517,7 @@ dependencies = [
[[package]]
name = "tesla-common"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"ron",
"serde",

View file

@ -1,6 +1,6 @@
[package]
name = "tesla-common"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -1,8 +1,9 @@
use serde::{Deserialize, Serialize};
use std::path::Path;
use teslatte::auth::{AccessToken, RefreshToken};
use thiserror::Error;
pub use teslatte::auth::{AccessToken, RefreshToken};
#[derive(Serialize, Deserialize, Clone)]
pub struct AuthInfo {
pub access_token: AccessToken,