Create project

This commit is contained in:
Joscha 2024-03-02 23:02:32 +01:00
commit 44294830af
8 changed files with 45 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

14
Cargo.lock generated Normal file
View file

@ -0,0 +1,14 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "showbits-common"
version = "0.0.0"
[[package]]
name = "showbits-thermal-printer"
version = "0.0.0"
dependencies = [
"showbits-common",
]

10
Cargo.toml Normal file
View file

@ -0,0 +1,10 @@
[workspace]
resolver = "2"
members = ["showbits-common", "showbits-thermal-printer"]
[workspace.package]
version = "0.0.0"
edition = "2021"
[workspace.dependencies]
showbits-common.path = "./showbits-common"

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# showbits
Displaying pixel-perfect images on esoteric devices.

View file

@ -0,0 +1,4 @@
[package]
name = "showbits-common"
version.workspace = true
edition.workspace = true

View file

@ -0,0 +1,3 @@
pub fn greet(who: &str) {
println!("Hello {who}!");
}

View file

@ -0,0 +1,7 @@
[package]
name = "showbits-thermal-printer"
version.workspace = true
edition.workspace = true
[dependencies]
showbits-common.workspace = true

View file

@ -0,0 +1,3 @@
fn main() {
showbits_common::greet("world");
}