Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
m
rust-card10
Commits
62f3e1fc
Verified
Commit
62f3e1fc
authored
Aug 24, 2019
by
Kloenk
Browse files
prepare cargo publish
parent
ed5fbf54
Changes
6
Hide whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
62f3e1fc
...
...
@@ -77,6 +77,16 @@ name = "byteorder"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "card10-l0dable"
version = "0.1.0"
dependencies = [
"bindgen 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)",
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"panic-abort 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "cc"
version = "1.0.37"
...
...
@@ -160,30 +170,20 @@ dependencies = [
"quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "l0dable"
version = "0.0.0"
dependencies = [
"bindgen 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)",
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"panic-abort 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "l0dable-example"
version = "0.0.0"
dependencies = [
"card10-l0dable 0.1.0",
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"l0dable 0.0.0",
]
[[package]]
name = "l0dable-rkanoid"
version = "0.0.0"
dependencies = [
"card10-l0dable 0.1.0",
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"l0dable 0.0.0",
]
[[package]]
...
...
example/Cargo.toml
View file @
62f3e1fc
...
...
@@ -5,7 +5,7 @@ version = "0.0.0"
authors
=
[
"Astro <astro@spaceboyz.net>"
]
[dependencies]
l0dable
=
{
path
=
"../l0dable"
}
card10-
l0dable
=
{
path
=
"../l0dable"
}
[build-dependencies]
cc
=
"1.0"
...
...
example/src/main.rs
View file @
62f3e1fc
...
...
@@ -2,7 +2,7 @@
#![no_main]
use
core
::
fmt
::
Write
;
use
l0dable
::
*
;
use
card10_
l0dable
::
*
;
main!
(
main
);
fn
main
()
{
...
...
l0dable/Cargo.toml
View file @
62f3e1fc
[package]
edition
=
"2018"
name
=
"l0dable"
version
=
"0.0.0"
authors
=
[
"Astro <astro@spaceboyz.net>"
]
name
=
"card10-l0dable"
version
=
"0.1.0"
authors
=
[
"Astro <astro@spaceboyz.net>"
,
"Kloenk <me@kloenk.de>"
]
license
=
"MIT/Apache-2.0"
repository
=
"https://git.card10.badge.events.ccc.de/astro/rust-card10"
homepage
=
"https://git.card10.badge.events.ccc.de/astro/rust-card10"
keywords
=
[
"CCC"
,
"CCCamp2019"
,
"CCCamp19"
,
"card10"
,
"l0dable"
,
"badge"
,
]
categories
=
["no-std"]
description
=
"""
make l0dables for the Card10 (CCCamp 2019) badge
"""
[dependencies]
r0
=
"0.2"
...
...
rkanoid/Cargo.toml
View file @
62f3e1fc
...
...
@@ -5,11 +5,11 @@ version = "0.0.0"
authors
=
[
"Astro <astro@spaceboyz.net>"
]
[dependencies]
l0dable
=
{
path
=
"../l0dable"
}
card10-
l0dable
=
{
path
=
"../l0dable"
}
[build-dependencies]
cc
=
"1.0"
[[bin]]
name
=
"rkanoid"
path
=
"src/main.rs"
\ No newline at end of file
path
=
"src/main.rs"
rkanoid/src/main.rs
View file @
62f3e1fc
...
...
@@ -2,7 +2,7 @@
#![no_main]
use
core
::
fmt
::
Write
;
use
l0dable
::
*
;
use
card10_
l0dable
::
*
;
pub
const
BALL_RADIUS
:
u16
=
4
;
pub
const
PADDLE_SPACE
:
u16
=
32
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment