Create project
This commit is contained in:
commit
44294830af
8 changed files with 45 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/target
|
||||||
14
Cargo.lock
generated
Normal file
14
Cargo.lock
generated
Normal 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
10
Cargo.toml
Normal 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
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# showbits
|
||||||
|
|
||||||
|
Displaying pixel-perfect images on esoteric devices.
|
||||||
4
showbits-common/Cargo.toml
Normal file
4
showbits-common/Cargo.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[package]
|
||||||
|
name = "showbits-common"
|
||||||
|
version.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
3
showbits-common/src/lib.rs
Normal file
3
showbits-common/src/lib.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
pub fn greet(who: &str) {
|
||||||
|
println!("Hello {who}!");
|
||||||
|
}
|
||||||
7
showbits-thermal-printer/Cargo.toml
Normal file
7
showbits-thermal-printer/Cargo.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[package]
|
||||||
|
name = "showbits-thermal-printer"
|
||||||
|
version.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
showbits-common.workspace = true
|
||||||
3
showbits-thermal-printer/src/main.rs
Normal file
3
showbits-thermal-printer/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
showbits_common::greet("world");
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue