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]] [[package]]
name = "tesla-common" name = "tesla-common"
version = "0.2.0" version = "0.2.1"
dependencies = [ dependencies = [
"ron", "ron",
"serde", "serde",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "tesla-common" name = "tesla-common"
version = "0.2.0" version = "0.2.1"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # 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 serde::{Deserialize, Serialize};
use std::path::Path; use std::path::Path;
use teslatte::auth::{AccessToken, RefreshToken};
use thiserror::Error; use thiserror::Error;
pub use teslatte::auth::{AccessToken, RefreshToken};
#[derive(Serialize, Deserialize, Clone)] #[derive(Serialize, Deserialize, Clone)]
pub struct AuthInfo { pub struct AuthInfo {
pub access_token: AccessToken, pub access_token: AccessToken,