You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

hidapi

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hidapi - cargo Package Compare versions

Comparing version
1.0.1
to
1.1.0
+5
.cargo_vcs_info.json
{
"git": {
"sha1": "8da2a18387b812bbdf138f0b67f277ea5b5d8efe"
}
}
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "cc"
version = "1.0.47"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "hidapi"
version = "1.1.0"
dependencies = [
"cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libc"
version = "0.2.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "pkg-config"
version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
[metadata]
"checksum cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)" = "aa87058dce70a3ff5621797f1506cb837edd02ac4c0ae642b4542dce802908b8"
"checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
"checksum pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)" = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677"
+6
-0

@@ -34,2 +34,4 @@ // **************************************************************************

compile_macos();
} else if target.contains("freebsd") {
compile_freebsd();
} else {

@@ -110,2 +112,6 @@ panic!("Unsupported target os for hidapi-rs");

fn compile_freebsd() {
pkg_config::probe_library("hidapi").expect("Unable to find hidapi");
}
fn compile_windows() {

@@ -112,0 +118,0 @@ cc::Build::new()

+4
-4

@@ -15,3 +15,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO

name = "hidapi"
version = "1.0.1"
version = "1.1.0"
authors = ["Roland Ruckerbauer <roland.rucky@gmail.com>", "Osspial <osspial@gmail.com>", "Artyom Pavlov <newpavlov@gmail.com>", "mberndt123", "niklasad1"]

@@ -26,8 +26,8 @@ build = "build.rs"

[dependencies.libc]
version = "0.2.33"
version = "0.2"
[build-dependencies.cc]
version = "1.0.3"
version = "1.0"
[build-dependencies.pkg-config]
version = "0.3.9"
version = "0.3"

@@ -34,0 +34,0 @@ [features]

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'hidapi'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=hidapi"
],
"filter": {
"name": "hidapi",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Check",
"type": "shell",
"command": "echo Hello"
},
{
"type": "cargo",
"subcommand": "check",
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

Sorry, the diff of this file is not supported yet