# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "cl3" version = "0.10.0" authors = ["Ken Barker "] description = "A Rust implementation of the Khronos OpenCL 3.0 API and extensions." homepage = "https://github.com/kenba/cl3" documentation = "https://docs.rs/cl3/" readme = "README.md" keywords = [ "opencl", "gpu", "gpgpu", "ffi", "api", ] categories = [ "api-bindings", "asynchronous", "external-ffi-bindings", ] license = "Apache-2.0" repository = "https://github.com/kenba/cl3" [[example]] name = "clinfo" path = "examples/clinfo.rs" [dependencies.libc] version = "0.2" [dependencies.opencl-sys] version = "0.3" [dependencies.thiserror] version = "1.0" [features] CL_VERSION_1_1 = ["opencl-sys/CL_VERSION_1_1"] CL_VERSION_1_2 = ["opencl-sys/CL_VERSION_1_2"] CL_VERSION_2_0 = ["opencl-sys/CL_VERSION_2_0"] CL_VERSION_2_1 = ["opencl-sys/CL_VERSION_2_1"] CL_VERSION_2_2 = ["opencl-sys/CL_VERSION_2_2"] CL_VERSION_3_0 = ["opencl-sys/CL_VERSION_3_0"] cl_apple_contextloggingfunctions = ["opencl-sys/cl_apple_contextloggingfunctions"] cl_apple_setmemobjectdestructor = ["opencl-sys/cl_apple_setmemobjectdestructor"] cl_arm_import_memory = ["opencl-sys/cl_arm_import_memory"] cl_arm_shared_virtual_memory = ["opencl-sys/cl_arm_shared_virtual_memory"] cl_ext_device_fission = ["opencl-sys/cl_ext_device_fission"] cl_ext_image_requirements_info = ["opencl-sys/cl_ext_image_requirements_info"] cl_ext_migrate_memobject = ["opencl-sys/cl_ext_migrate_memobject"] cl_img_generate_mipmap = ["opencl-sys/cl_img_generate_mipmap"] cl_img_use_gralloc_ptr = ["opencl-sys/cl_img_use_gralloc_ptr"] cl_intel_accelerator = ["opencl-sys/cl_intel_accelerator"] cl_intel_create_buffer_with_properties = ["opencl-sys/cl_intel_create_buffer_with_properties"] cl_intel_dx9_media_sharing = ["opencl-sys/cl_intel_dx9_media_sharing"] cl_intel_program_scope_host_pipe = ["opencl-sys/cl_intel_program_scope_host_pipe"] cl_intel_unified_shared_memory = ["opencl-sys/cl_intel_unified_shared_memory"] cl_khr_command_buffer = ["opencl-sys/cl_khr_command_buffer"] cl_khr_command_buffer_multi_device = ["opencl-sys/cl_khr_command_buffer_multi_device"] cl_khr_command_buffer_mutable_dispatch = ["opencl-sys/cl_khr_command_buffer_mutable_dispatch"] cl_khr_create_command_queue = ["opencl-sys/cl_khr_create_command_queue"] cl_khr_d3d10_sharing = ["opencl-sys/cl_khr_d3d10_sharing"] cl_khr_d3d11_sharing = ["opencl-sys/cl_khr_d3d11_sharing"] cl_khr_dx9_media_sharing = ["opencl-sys/cl_khr_dx9_media_sharing"] cl_khr_egl_event = ["opencl-sys/cl_khr_egl_event"] cl_khr_egl_image = ["opencl-sys/cl_khr_egl_image"] cl_khr_external_memory = ["opencl-sys/cl_khr_external_memory"] cl_khr_external_semaphore = ["opencl-sys/cl_khr_external_semaphore"] cl_khr_external_semaphore_sync_fd = ["opencl-sys/cl_khr_external_semaphore_sync_fd"] cl_khr_gl_event = ["opencl-sys/cl_khr_gl_event"] cl_khr_gl_sharing = ["opencl-sys/cl_khr_gl_sharing"] cl_khr_icd = ["opencl-sys/cl_khr_icd"] cl_khr_il_program = ["opencl-sys/cl_khr_il_program"] cl_khr_semaphore = ["opencl-sys/cl_khr_semaphore"] cl_khr_subgroups = ["opencl-sys/cl_khr_subgroups"] cl_khr_suggested_local_work_size = ["opencl-sys/cl_khr_suggested_local_work_size"] cl_khr_terminate_context = ["opencl-sys/cl_khr_terminate_context"] cl_loader_info = ["opencl-sys/cl_loader_info"] cl_loader_layers = ["opencl-sys/cl_loader_layers"] cl_pocl_content_size = ["opencl-sys/cl_pocl_content_size"] cl_qcom_ext_host_ptr = ["opencl-sys/cl_qcom_ext_host_ptr"] default = [ "CL_VERSION_1_1", "CL_VERSION_1_2", ] [lints.clippy] enum_glob_use = "deny" missing_errors_doc = "allow" module_name_repetitions = "allow" nursery = "deny" pedantic = "deny" unwrap_used = "deny"