Skip to content

Commit

Permalink
do not re-export sys crate
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Sep 12, 2023
1 parent 1488768 commit d400db8
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 21 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/ctrl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[package]
name = "playdate-controls"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion api/ctrl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

#[macro_use]
extern crate alloc;
pub extern crate sys;
extern crate sys;
pub mod buttons;
pub mod peripherals;
2 changes: 1 addition & 1 deletion api/fs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-fs"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions api/fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#![feature(const_trait_impl)]

#[macro_use]
pub extern crate sys;
pub extern crate alloc;
extern crate sys;
extern crate alloc;

use core::ffi::c_char;
use core::ffi::c_int;
Expand Down
2 changes: 1 addition & 1 deletion api/menu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-menu"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions api/menu/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#![cfg_attr(not(test), no_std)]
#![feature(error_in_core)]

pub extern crate sys;
pub extern crate alloc;
extern crate sys;
extern crate alloc;

pub mod error;

Expand Down
2 changes: 1 addition & 1 deletion api/sound/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-sound"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions api/sound/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#![feature(const_trait_impl)]

#[macro_use]
pub extern crate sys;
pub extern crate alloc;
extern crate sys;
extern crate alloc;

pub mod error;
pub mod player;
Expand Down
2 changes: 1 addition & 1 deletion api/sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-sys"
version = "0.1.3"
version = "0.1.4"
edition = "2021"
build = "src/build.rs"

Expand Down
1 change: 1 addition & 0 deletions api/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub mod ffi {
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![cfg_attr(test, allow(deref_nullptr))]
#![allow(clippy::all, clippy::pedantic, clippy::nursery)]
//! Low-level Playdate C-API.
//!
#![doc = concat!("\nSDK version: `", env!("PD_SDK_VERSION"), "`\n")]
Expand Down

0 comments on commit d400db8

Please sign in to comment.