Merge pull request #17 from ruma/serde-derive-feature
Replace serde_derive by re-exports in serde
This commit is contained in:
		
						commit
						58a785c350
					
				| @ -20,6 +20,8 @@ serde_urlencoded = "0.5.4" | |||||||
| ruma-identifiers = "0.11.0" | ruma-identifiers = "0.11.0" | ||||||
| 
 | 
 | ||||||
| [dev-dependencies] | [dev-dependencies] | ||||||
| serde = "1.0.80" |  | ||||||
| serde_derive = "1.0.80" |  | ||||||
| url = "1.7.2" | url = "1.7.2" | ||||||
|  | 
 | ||||||
|  | [dev-dependencies.serde] | ||||||
|  | version = "1.0.87" | ||||||
|  | features = ["derive"] | ||||||
|  | |||||||
| @ -129,8 +129,7 @@ mod tests { | |||||||
|             header::CONTENT_TYPE, method::Method, Request as HttpRequest, Response as HttpResponse, |             header::CONTENT_TYPE, method::Method, Request as HttpRequest, Response as HttpResponse, | ||||||
|         }; |         }; | ||||||
|         use ruma_identifiers::{RoomAliasId, RoomId}; |         use ruma_identifiers::{RoomAliasId, RoomId}; | ||||||
|         use serde::de::{Deserialize, IntoDeserializer}; |         use serde::{de::IntoDeserializer, Deserialize, Serialize}; | ||||||
|         use serde_derive::{Deserialize, Serialize}; |  | ||||||
|         use serde_json; |         use serde_json; | ||||||
|         use url::percent_encoding; |         use url::percent_encoding; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user