Skip to content

Commit

Permalink
fix: replace dotenv with dotenvy - resolves #10
Browse files Browse the repository at this point in the history
  • Loading branch information
jctosta committed Feb 14, 2023
1 parent 39991f7 commit 2cc1828
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ keywords = ["openai", "api", "client", "clap"]

[dev-dependencies]
clap = { version = "4.0.29", features = ["derive"] }
dotenv = "0.15.0"
mockito = "0.23.2"
dotenvy = "0.15.6"
mockito = "0.23.2"
2 changes: 1 addition & 1 deletion examples/clap/completion.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use dotenv::dotenv;
use dotenvy::dotenv;
use sortium_ai_client::openai::completions::{CompletionsClient, CompletionsInput};

use std::env;
Expand Down
2 changes: 1 addition & 1 deletion examples/clap/edits.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use dotenv::dotenv;
use dotenvy::dotenv;
use sortium_ai_client::openai::edits::{EditClient, EditInput};

use std::env;
Expand Down
2 changes: 1 addition & 1 deletion examples/clap/embeddings.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use dotenv::dotenv;
use dotenvy::dotenv;
use sortium_ai_client::openai::embeddings::{EmbeddingsClient, EmbeddingsInput};

use std::env;
Expand Down
2 changes: 1 addition & 1 deletion examples/clap/img2img.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use dotenv::dotenv;
use dotenvy::dotenv;
use sortium_ai_client::stable_diffusion::{
image::{base64_to_png, load_image_from_disk, save_image_to_disk},
StableDiffusionClient, StableDiffusionParameters,
Expand Down
2 changes: 1 addition & 1 deletion examples/clap/text2img.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use dotenv::dotenv;
use dotenvy::dotenv;
use sortium_ai_client::stable_diffusion::{
image::{base64_to_png, save_image_to_disk},
StableDiffusionClient, StableDiffusionParameters,
Expand Down

0 comments on commit 2cc1828

Please sign in to comment.