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"
 | 
					name = "lldap_app"
 | 
				
			||||||
version = "0.2.0"
 | 
					version = "0.2.0"
 | 
				
			||||||
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
					authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
				
			||||||
edition = "2018"
 | 
					edition = "2021"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[dependencies]
 | 
					[dependencies]
 | 
				
			||||||
anyhow = "1"
 | 
					anyhow = "1"
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@
 | 
				
			|||||||
name = "lldap_auth"
 | 
					name = "lldap_auth"
 | 
				
			||||||
version = "0.2.0"
 | 
					version = "0.2.0"
 | 
				
			||||||
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
					authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
				
			||||||
edition = "2018"
 | 
					edition = "2021"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[features]
 | 
					[features]
 | 
				
			||||||
default = ["opaque_server", "opaque_client"]
 | 
					default = ["opaque_server", "opaque_client"]
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
[package]
 | 
					[package]
 | 
				
			||||||
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
					authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
 | 
				
			||||||
edition = "2018"
 | 
					edition = "2021"
 | 
				
			||||||
name = "lldap"
 | 
					name = "lldap"
 | 
				
			||||||
version = "0.2.0"
 | 
					version = "0.2.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,6 @@
 | 
				
			|||||||
use crate::domain::handler::{BackendHandler, GroupId, GroupIdAndName};
 | 
					use crate::domain::handler::{BackendHandler, GroupId, GroupIdAndName};
 | 
				
			||||||
use juniper::{graphql_object, FieldResult, GraphQLInputObject};
 | 
					use juniper::{graphql_object, FieldResult, GraphQLInputObject};
 | 
				
			||||||
use serde::{Deserialize, Serialize};
 | 
					use serde::{Deserialize, Serialize};
 | 
				
			||||||
use std::convert::TryInto;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
type DomainRequestFilter = crate::domain::handler::RequestFilter;
 | 
					type DomainRequestFilter = crate::domain::handler::RequestFilter;
 | 
				
			||||||
type DomainUser = crate::domain::handler::User;
 | 
					type DomainUser = crate::domain::handler::User;
 | 
				
			||||||
 | 
				
			|||||||
@ -13,7 +13,6 @@ use ldap3_server::proto::{
 | 
				
			|||||||
    LdapResultCode, LdapSearchRequest, LdapSearchResultEntry, LdapSearchScope,
 | 
					    LdapResultCode, LdapSearchRequest, LdapSearchResultEntry, LdapSearchScope,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
use log::{debug, warn};
 | 
					use log::{debug, warn};
 | 
				
			||||||
use std::convert::TryFrom;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
fn make_dn_pair<I>(mut iter: I) -> Result<(String, String)>
 | 
					fn make_dn_pair<I>(mut iter: I) -> Result<(String, String)>
 | 
				
			||||||
where
 | 
					where
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user