pico-args

This commit is contained in:
Henri Bourcereau 2022-12-01 18:04:03 +01:00
parent 529364f062
commit 9bbe58a274
6 changed files with 54 additions and 0 deletions

5
.gitignore vendored
View file

@ -6,3 +6,8 @@
**/*.rs.bk **/*.rs.bk
.devenv* .devenv*
devenv.local.nix devenv.local.nix
# Added by cargo
/target

16
Cargo.lock generated Normal file
View file

@ -0,0 +1,16 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "pico-args"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
[[package]]
name = "trictrac"
version = "0.1.0"
dependencies = [
"pico-args",
]

9
Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[package]
name = "trictrac"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pico-args = "0.5.0"

View file

@ -1,5 +1,19 @@
# Backlog # Backlog
## Rust libs
cf. https://blessed.rs/crates
- cli : https://lib.rs/crates/pico-args
- reseau async : tokio
- web serveur : axum (uses tokio)
- https://fasterthanli.me/series/updating-fasterthanli-me-for-2022/part-2#the-opinions-of-axum-also-nice-error-handling
## Others
- plugins avec https://github.com/extism/extism
## Backgammon existing projects
* lib rust backgammon * lib rust backgammon
- https://docs.rs/crate/backgammon/0.4.0 - https://docs.rs/crate/backgammon/0.4.0
- https://github.com/marktani/backgammon - https://github.com/marktani/backgammon

7
doc/journal.md Normal file
View file

@ -0,0 +1,7 @@
# Journal
```sh
devenv init
cargo init
cargo add pico-args
```

3
src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}