From f424891511b79e2ec1fb8e1dcb407228da693316 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 20 May 2018 10:59:41 +0000 Subject: Replace generated with static code Use bindgen to generate the bindings statically instead of during build. Code generation is not necessary as NK_C_API.h does not contain any system-dependent definitions. Removing bindgen as a build dependency also drastically speeds up compilation. --- Cargo.toml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 68739b4..4e6268c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,9 +10,3 @@ license = "LGPL-3.0" links = "nitrokey" build = "build.rs" readme = "README.md" - -[dependencies] -libc = "0.2" - -[build-dependencies] -bindgen = "0.37.0" -- cgit v1.2.1