chore: Migrate all the crates to edition 2024

This commit is contained in:
Valentin Tolmer
2025-03-30 21:10:04 -05:00
committed by nitnelave
parent e18f2af54f
commit ba9bcb3894
76 changed files with 358 additions and 302 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
name = "lldap_migration_tool"
version = "0.4.2"
description = "CLI migration tool to go from OpenLDAP to LLDAP"
edition = "2021"
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
+2 -2
View File
@@ -1,6 +1,6 @@
use anyhow::{anyhow, Context, Result};
use anyhow::{Context, Result, anyhow};
use ldap3::{ResultEntry, SearchEntry};
use requestty::{prompt_one, Question};
use requestty::{Question, prompt_one};
use smallvec::SmallVec;
use crate::lldap::User;
+3 -3
View File
@@ -1,12 +1,12 @@
use std::collections::{HashMap, HashSet};
use anyhow::{anyhow, bail, Context, Result};
use anyhow::{Context, Result, anyhow, bail};
use graphql_client::GraphQLQuery;
use requestty::{prompt_one, Question};
use requestty::{Question, prompt_one};
use reqwest::blocking::{Client, ClientBuilder};
use smallvec::SmallVec;
use crate::ldap::{check_host_exists, LdapGroup};
use crate::ldap::{LdapGroup, check_host_exists};
pub struct GraphQLClient {
url: String,
+2 -2
View File
@@ -2,8 +2,8 @@
use std::collections::HashSet;
use anyhow::{anyhow, Result};
use requestty::{prompt_one, Question};
use anyhow::{Result, anyhow};
use requestty::{Question, prompt_one};
mod ldap;
mod lldap;