initialize repository
initialize cargo, just, and dependencies
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
/target
|
||||||
Generated
+1791
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "define"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
clap = { version = "4.6.6", features = ["derive"] }
|
||||||
|
reqwest = { version = "0.13.4", features = ["json"] }
|
||||||
|
serde = { version = "1.0.229", features = ["derive"] }
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
_default:
|
||||||
|
just --list
|
||||||
|
|
||||||
|
# Run the bot
|
||||||
|
[group('dev')]
|
||||||
|
run:
|
||||||
|
cargo run
|
||||||
|
|
||||||
|
# Clean up previous builds
|
||||||
|
[group('build')]
|
||||||
|
clean:
|
||||||
|
cargo clean
|
||||||
|
|
||||||
|
# Build the bot for production
|
||||||
|
[group('build')]
|
||||||
|
build:
|
||||||
|
cargo build --release
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, dictionary!");
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user