From 9c33cd843ad86351a1161b05dc2bf7a99f244b86 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 18 Jun 2023 20:27:04 +0100 Subject: [PATCH] fix: renamed the project to better fit its use --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/bin/update_groups.rs | 2 +- src/main.rs | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 125bd14..cc3d3aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1957,7 +1957,7 @@ dependencies = [ ] [[package]] -name = "skynet_ldap_server" +name = "skynet_ldap_backend" version = "0.1.0" dependencies = [ "async-std", diff --git a/Cargo.toml b/Cargo.toml index 06f4392..8e8334b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "skynet_ldap_server" +name = "skynet_ldap_backend" version = "0.1.0" edition = "2021" diff --git a/src/bin/update_groups.rs b/src/bin/update_groups.rs index a1711b1..4e771f1 100644 --- a/src/bin/update_groups.rs +++ b/src/bin/update_groups.rs @@ -1,6 +1,6 @@ use dotenv::dotenv; use ldap3::{LdapConn, Mod}; -use skynet_ldap_server::{get_config, Config}; +use skynet_ldap_backend::{get_config, Config}; use std::env; #[async_std::main] diff --git a/src/main.rs b/src/main.rs index 534d3ff..71aceef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ -use skynet_ldap_server::methods::account_new::{post_new_account, post_new_account_confirmation}; -use skynet_ldap_server::methods::account_update::post_update_ldap; -use skynet_ldap_server::{db_init, get_config, State}; +use skynet_ldap_backend::methods::account_new::{post_new_account, post_new_account_confirmation}; +use skynet_ldap_backend::methods::account_update::post_update_ldap; +use skynet_ldap_backend::{db_init, get_config, State}; #[async_std::main] async fn main() -> tide::Result<()> {