mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	cargo: Update to 2021 edition
This commit is contained in:
		
							parent
							
								
									4eb0950dd1
								
							
						
					
					
						commit
						b186f3b857
					
				@ -2,7 +2,7 @@
 | 
			
		||||
name = "lldap_app"
 | 
			
		||||
version = "0.2.0"
 | 
			
		||||
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
			
		||||
edition = "2018"
 | 
			
		||||
edition = "2021"
 | 
			
		||||
 | 
			
		||||
[dependencies]
 | 
			
		||||
anyhow = "1"
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,7 @@
 | 
			
		||||
name = "lldap_auth"
 | 
			
		||||
version = "0.2.0"
 | 
			
		||||
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
			
		||||
edition = "2018"
 | 
			
		||||
edition = "2021"
 | 
			
		||||
 | 
			
		||||
[features]
 | 
			
		||||
default = ["opaque_server", "opaque_client"]
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
[package]
 | 
			
		||||
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
			
		||||
edition = "2018"
 | 
			
		||||
edition = "2021"
 | 
			
		||||
name = "lldap"
 | 
			
		||||
version = "0.2.0"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
use crate::domain::handler::{BackendHandler, GroupId, GroupIdAndName};
 | 
			
		||||
use juniper::{graphql_object, FieldResult, GraphQLInputObject};
 | 
			
		||||
use serde::{Deserialize, Serialize};
 | 
			
		||||
use std::convert::TryInto;
 | 
			
		||||
 | 
			
		||||
type DomainRequestFilter = crate::domain::handler::RequestFilter;
 | 
			
		||||
type DomainUser = crate::domain::handler::User;
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,6 @@ use ldap3_server::proto::{
 | 
			
		||||
    LdapResultCode, LdapSearchRequest, LdapSearchResultEntry, LdapSearchScope,
 | 
			
		||||
};
 | 
			
		||||
use log::{debug, warn};
 | 
			
		||||
use std::convert::TryFrom;
 | 
			
		||||
 | 
			
		||||
fn make_dn_pair<I>(mut iter: I) -> Result<(String, String)>
 | 
			
		||||
where
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user