Skip to content

Commit ba39b60

Browse files
committed
Basic skeleton
1 parent 7d905e1 commit ba39b60

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "neotron-api"
3+
version = "0.1.0"
4+
edition = "2021"
5+
authors = ["Jonathan 'theJPster' Pallant <[email protected]>", "The Neotron Developers"]
6+
7+
[dependencies]
8+
neotron-ffi = "0.1"
9+

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Neotron API
2+
3+
This crate defines the API between the Neotron OS and any Neotron Applications running on it.
4+
5+
If you are writing a Neotron Application, you might prefer to use the Neotron SDK, which wraps up this API into something slightly more useable.
6+
7+
Note that this API must be FFI-safe, because the OS and the Application may be compiled with different versions of Rust.
8+
9+

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#![no_std]
2+
3+
pub enum Foo {
4+
5+
}

0 commit comments

Comments
 (0)