mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
chore: Migrate all the crates to edition 2024
This commit is contained in:
committed by
nitnelave
parent
e18f2af54f
commit
ba9bcb3894
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,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;
|
||||
|
||||
Reference in New Issue
Block a user