Skip to content

Commit

Permalink
chore: formatted all files
Browse files Browse the repository at this point in the history
  • Loading branch information
francis2tm committed Jan 30, 2024
1 parent 4d8baa7 commit 3bd5a73
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion crates/edgen_async_compat/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Shims around [`smol`][smol], [`tokio`][tokio], and [`glommio`] to provide a unified interface
//! for asynchronous programming.
//!
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! A brutally simple session management framework for Edgen's transport-agnostic, Protobuf-based
//! message-passing protocol.
//!
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_core/src/llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use core::future::Future;
use core::time::Duration;
use futures::Stream;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_core/src/perishable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Lazily self-destructing types.

use core::time::Duration;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_core/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use std::ops::{Deref, DerefMut};
use std::path::{Path, PathBuf};
use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_core/src/whisper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Arc;

Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_rt_llama_cpp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use std::path::{Path, PathBuf};
use std::pin::Pin;
use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_rt_whisper_cpp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use std::future::Future;

use edgen_core::settings::SETTINGS;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Command Line Interface
use once_cell::sync::Lazy;

Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/graceful_shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Mechanisms for shutting down application without destroying anything important.

use time::{Duration, OffsetDateTime};
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! A batteries-included, transport-agnostic server for interacting with large AI models.

#![deny(unsafe_code)]
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use futures::Stream;
use once_cell::sync::Lazy;
use serde_derive::Serialize;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Minor Edgen services like version.

use axum::http::StatusCode;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use std::path::PathBuf;

use serde_derive::Serialize;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/openai_shim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! JSON structures and Axum endpoints compatible with [OpenAI's API][openai], providing a thin
//! shim between an HTTP REST API server to Edgen's Protobuf-based messaging system.
//!
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Utility types.

pub use perishable::*;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/util/perishable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//! Lazily self-destructing types.

use std::future::Future;
Expand Down
2 changes: 1 addition & 1 deletion crates/edgen_server/src/whisper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use std::sync::Arc;

use dashmap::DashMap;
Expand Down
2 changes: 1 addition & 1 deletion edgen/src-tauri/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

fn main() {
tauri_build::build()
}
2 changes: 1 addition & 1 deletion edgen/src-tauri/src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use edgen_core::settings;
use edgen_server;
use opener;
Expand Down
2 changes: 1 addition & 1 deletion edgen/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Tauri - prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

Expand Down

0 comments on commit 3bd5a73

Please sign in to comment.