pico-args
This commit is contained in:
parent
529364f062
commit
9bbe58a274
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -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
16
Cargo.lock
generated
Normal 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
9
Cargo.toml
Normal 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"
|
||||||
|
|
@ -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
7
doc/journal.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Journal
|
||||||
|
|
||||||
|
```sh
|
||||||
|
devenv init
|
||||||
|
cargo init
|
||||||
|
cargo add pico-args
|
||||||
|
```
|
||||||
3
src/main.rs
Normal file
3
src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue