aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradumbidiot <[email protected]>2021-03-18 17:40:55 -0700
committeradumbidiot <[email protected]>2021-03-18 17:40:55 -0700
commit963099d2b6120eb8705a683b9c292bd7e191d1dd (patch)
treeb182e9f2f433f3946c14e4b8205fcb894c94a6d6
parentMake `sys` crate rebuild when `STEAM_SDK_LOCATION` changes (diff)
downloadsteamworks-rs-963099d2b6120eb8705a683b9c292bd7e191d1dd.tar.xz
steamworks-rs-963099d2b6120eb8705a683b9c292bd7e191d1dd.zip
Update `sys` crate to edition 2018
-rw-r--r--steamworks-sys/Cargo.toml1
-rw-r--r--steamworks-sys/src/lib.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/steamworks-sys/Cargo.toml b/steamworks-sys/Cargo.toml
index da52af8..a669a73 100644
--- a/steamworks-sys/Cargo.toml
+++ b/steamworks-sys/Cargo.toml
@@ -7,6 +7,7 @@ description = "Provides raw bindings to the steamworks sdk"
license = "MIT / Apache-2.0"
repository = "https://github.com/Thinkofname/steamworks-rs"
documentation = "https://docs.rs/steamworks-sys"
+edition = "2018"
[package.metadata.docs.rs]
features = [ "docs-only" ]
diff --git a/steamworks-sys/src/lib.rs b/steamworks-sys/src/lib.rs
index 9e52a0f..180e7c2 100644
--- a/steamworks-sys/src/lib.rs
+++ b/steamworks-sys/src/lib.rs
@@ -2,8 +2,6 @@
#![allow(non_upper_case_globals)]
#![allow(non_snake_case)]
-extern crate libc;
-
#[cfg(not(feature = "docs-only"))]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));