common: Make js and rand features work together
This commit is contained in:
		
							parent
							
								
									05b643a13b
								
							
						
					
					
						commit
						4f65489e8d
					
				| @ -23,7 +23,8 @@ server = [] | |||||||
| api = ["http", "thiserror"] | api = ["http", "thiserror"] | ||||||
| compat = ["ruma-macros/compat", "ruma-identifiers-validation/compat"] | compat = ["ruma-macros/compat", "ruma-identifiers-validation/compat"] | ||||||
| events = ["indoc", "thiserror"] | events = ["indoc", "thiserror"] | ||||||
| js = ["js-sys"] | # TODO: Use weak dependency features once MSRV >= 1.60 | ||||||
|  | js = ["js-sys", "getrandom/js", "uuid/js"] | ||||||
| markdown = ["pulldown-cmark"] | markdown = ["pulldown-cmark"] | ||||||
| rand = ["rand_crate", "uuid"] | rand = ["rand_crate", "uuid"] | ||||||
| unstable-exhaustive-types = [] | unstable-exhaustive-types = [] | ||||||
| @ -48,6 +49,7 @@ base64 = "0.13.0" | |||||||
| bytes = "1.0.1" | bytes = "1.0.1" | ||||||
| criterion = { version = "0.3.3", optional = true } | criterion = { version = "0.3.3", optional = true } | ||||||
| form_urlencoded = "1.0.0" | form_urlencoded = "1.0.0" | ||||||
|  | getrandom = { version = "0.2.6", optional = true } | ||||||
| http = { version = "0.2.2", optional = true } | http = { version = "0.2.2", optional = true } | ||||||
| indexmap = { version = "1.6.2", features = ["serde-1"] } | indexmap = { version = "1.6.2", features = ["serde-1"] } | ||||||
| indoc = { version = "1.0", optional = true } | indoc = { version = "1.0", optional = true } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user