| 
									
										
										
										
											2021-03-29 15:59:14 +08:00
										 |  |  | [package] | 
					
						
							|  |  |  | name = "scrap" | 
					
						
							|  |  |  | description = "Screen capture made easy." | 
					
						
							|  |  |  | version = "0.5.0" | 
					
						
							|  |  |  | repository = "https://github.com/quadrupleslap/scrap" | 
					
						
							|  |  |  | documentation = "https://docs.rs/scrap" | 
					
						
							|  |  |  | keywords = ["screen", "capture", "record"] | 
					
						
							|  |  |  | license = "MIT" | 
					
						
							|  |  |  | authors = ["Ram <quadrupleslap@gmail.com>"] | 
					
						
							|  |  |  | edition = "2018" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-23 17:52:38 +08:00
										 |  |  | [features] | 
					
						
							|  |  |  | wayland = ["gstreamer", "gstreamer-app", "gstreamer-video", "dbus", "tracing"] | 
					
						
							| 
									
										
										
										
											2022-09-15 20:40:29 +08:00
										 |  |  | mediacodec = ["ndk"] | 
					
						
							| 
									
										
										
										
											2023-05-20 07:19:28 +02:00
										 |  |  | linux-pkg-config = ["dep:pkg-config"] | 
					
						
							| 
									
										
										
										
											2024-04-12 17:26:24 +08:00
										 |  |  | hwcodec = ["dep:hwcodec"] | 
					
						
							|  |  |  | vram = ["hwcodec/vram"] | 
					
						
							| 
									
										
										
										
											2021-07-23 17:52:38 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-29 15:59:14 +08:00
										 |  |  | [dependencies] | 
					
						
							|  |  |  | cfg-if = "1.0" | 
					
						
							| 
									
										
										
										
											2023-05-11 12:04:38 +08:00
										 |  |  | num_cpus = "1.15" | 
					
						
							| 
									
										
										
										
											2022-04-25 12:28:28 +08:00
										 |  |  | lazy_static = "1.4" | 
					
						
							| 
									
										
										
										
											2022-05-29 17:23:14 +08:00
										 |  |  | hbb_common = { path = "../hbb_common" } | 
					
						
							| 
									
										
										
										
											2023-08-07 15:18:34 +08:00
										 |  |  | webm = { git = "https://github.com/21pages/rust-webm" } | 
					
						
							| 
									
										
										
										
											2024-04-12 17:26:24 +08:00
										 |  |  | serde = {version="1.0", features=["derive"]} | 
					
						
							| 
									
										
										
										
											2021-03-29 15:59:14 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | [dependencies.winapi] | 
					
						
							|  |  |  | version = "0.3" | 
					
						
							|  |  |  | default-features = true | 
					
						
							| 
									
										
										
										
											2022-04-25 12:28:28 +08:00
										 |  |  | features = ["dxgi", "dxgi1_2", "dxgi1_5", "d3d11", "winuser", "winerror", "errhandlingapi", "libloaderapi"] | 
					
						
							| 
									
										
										
										
											2021-03-29 15:59:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-16 09:35:11 +08:00
										 |  |  | [target.'cfg(target_os = "macos")'.dependencies] | 
					
						
							|  |  |  | block = "0.1" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-12 17:35:25 +08:00
										 |  |  | [target.'cfg(target_os = "android")'.dependencies] | 
					
						
							| 
									
										
										
										
											2023-05-11 12:04:38 +08:00
										 |  |  | android_logger = "0.13" | 
					
						
							|  |  |  | jni = "0.21" | 
					
						
							| 
									
										
										
										
											2022-05-12 17:35:25 +08:00
										 |  |  | lazy_static = "1.4" | 
					
						
							|  |  |  | log = "0.4" | 
					
						
							| 
									
										
										
										
											2022-06-01 17:52:21 +08:00
										 |  |  | serde_json = "1.0" | 
					
						
							| 
									
										
										
										
											2022-09-15 20:40:29 +08:00
										 |  |  | ndk = { version = "0.7", features = ["media"], optional = true} | 
					
						
							| 
									
										
										
										
											2023-11-23 19:47:16 +08:00
										 |  |  | ndk-context = "0.1" | 
					
						
							| 
									
										
										
										
											2022-05-12 17:35:25 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | [target.'cfg(not(target_os = "android"))'.dev-dependencies] | 
					
						
							| 
									
										
										
										
											2021-03-29 15:59:14 +08:00
										 |  |  | repng = "0.2" | 
					
						
							|  |  |  | docopt = "1.1" | 
					
						
							|  |  |  | quest = "0.3" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [build-dependencies] | 
					
						
							|  |  |  | target_build_utils = "0.3" | 
					
						
							| 
									
										
										
										
											2023-05-11 12:04:38 +08:00
										 |  |  | bindgen = "0.65" | 
					
						
							| 
									
										
										
										
											2023-05-20 07:19:28 +02:00
										 |  |  | pkg-config = { version = "0.3.27", optional = true } | 
					
						
							| 
									
										
										
										
											2021-07-23 17:52:38 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | [target.'cfg(target_os = "linux")'.dependencies] | 
					
						
							|  |  |  | dbus = { version = "0.9", optional = true } | 
					
						
							|  |  |  | tracing = { version = "0.1", optional = true } | 
					
						
							| 
									
										
										
										
											2022-12-22 12:22:26 +08:00
										 |  |  | gstreamer = { version = "0.16", optional = true } | 
					
						
							|  |  |  | gstreamer-app = { version = "0.16", features = ["v1_10"], optional = true } | 
					
						
							|  |  |  | gstreamer-video = { version = "0.16", optional = true } | 
					
						
							| 
									
										
										
										
											2022-05-29 17:23:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-04-12 17:26:24 +08:00
										 |  |  | [dependencies.hwcodec] | 
					
						
							|  |  |  | git = "https://github.com/21pages/hwcodec" | 
					
						
							|  |  |  | optional = true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-02 16:58:10 +08:00
										 |  |  | 
 |