basic lib & cli structure, uploaded to crates.io
This commit is contained in:
parent
9b7a85da99
commit
0269e8831c
4 changed files with 45 additions and 2 deletions
28
Cargo.toml
Normal file
28
Cargo.toml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
[package]
|
||||||
|
name = "bliplib"
|
||||||
|
version = "0.0.1"
|
||||||
|
edition = "2024"
|
||||||
|
authors = ["Breval Ferrari <breval.ferrari@fish.golf>"]
|
||||||
|
description = "The Bizarre Language for Intermodulation Programming (BLIP)"
|
||||||
|
license = "MIT"
|
||||||
|
include = ["LICENSE", "src/*"]
|
||||||
|
repository = "https://gitdab.com/breval/blip"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "bliplib"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "blip"
|
||||||
|
path = "src/cli/main.rs"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow = "1.0.98"
|
||||||
|
clap = { version = "4.5.38", features = ["derive"] }
|
||||||
|
fasteval = "0.2.4"
|
||||||
|
flacenc = "0.4.0"
|
||||||
|
hound = "3.5.1"
|
||||||
|
mp3lame-encoder = { version = "0.2.1", features = ["std"] }
|
||||||
|
nom = "8.0.0"
|
||||||
|
nom_locate = "5.0.0"
|
||||||
|
raw_audio = "0.0.1"
|
||||||
|
thiserror = "2.0.12"
|
|
@ -1,7 +1,7 @@
|
||||||
# blip
|
# blip
|
||||||
|
|
||||||
[](https://crates.io/crates/bng)
|
[](https://crates.io/crates/bliplib)
|
||||||
[](https://docs.rs/bng)
|
[](https://docs.rs/bliplib)
|
||||||
[](https://mit-license.org/)
|
[](https://mit-license.org/)
|
||||||
|
|
||||||
A better and more flexible [Bleeperpreter](https://github.com/p6nj/bleeperpreter) from scratch.
|
A better and more flexible [Bleeperpreter](https://github.com/p6nj/bleeperpreter) from scratch.
|
||||||
|
|
14
src/cli/main.rs
Normal file
14
src/cli/main.rs
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
use clap::Parser;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
let name = Cli::parse().name;
|
||||||
|
println!("Hello, {name}!");
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Parser)]
|
||||||
|
#[command(version)]
|
||||||
|
#[command(author)]
|
||||||
|
#[command(about)]
|
||||||
|
struct Cli {
|
||||||
|
name: String,
|
||||||
|
}
|
1
src/lib.rs
Normal file
1
src/lib.rs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pub struct Test;
|
Loading…
Add table
Add a link
Reference in a new issue