add readme bump version
This commit is contained in:
parent
8ee21e2c6f
commit
7a056e8d14
5 changed files with 38 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -724,7 +724,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ok_macros"
|
name = "ok_macros"
|
||||||
version = "0.1.0"
|
version = "0.1.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"darling",
|
"darling",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
|
@ -735,7 +735,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "okstd"
|
name = "okstd"
|
||||||
version = "0.1.0"
|
version = "0.1.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"backtrace",
|
"backtrace",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "okstd"
|
name = "okstd"
|
||||||
version = "0.1.0"
|
version = "0.1.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -14,7 +14,7 @@ fastvlq = "1.1.1"
|
||||||
futures = "0.3.30"
|
futures = "0.3.30"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
num_cpus = "1.16.0"
|
num_cpus = "1.16.0"
|
||||||
ok_macros = { version = "0.1.0", path = "ok_macros" }
|
ok_macros = { version = "0.1.3", path = "ok_macros", registry = "oksoftware" }
|
||||||
rustc-demangle = "0.1.23"
|
rustc-demangle = "0.1.23"
|
||||||
serde = "*"
|
serde = "*"
|
||||||
serde_json = "*"
|
serde_json = "*"
|
||||||
|
|
33
README.md
Normal file
33
README.md
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# okstd
|
||||||
|
|
||||||
|
<img src="okstd.png" align="right" width="200">
|
||||||
|
|
||||||
|
Standards that are OK.
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo add okstd@0.1.0
|
||||||
|
```
|
||||||
|
|
||||||
|
```rust
|
||||||
|
use okstd::prelude::*;
|
||||||
|
```
|
||||||
|
## Examples
|
||||||
|
### `okstd::main`
|
||||||
|
|
||||||
|
```rust
|
||||||
|
#[okstd::main]
|
||||||
|
async fn main() {
|
||||||
|
something();
|
||||||
|
}
|
||||||
|
```
|
||||||
|
## Experimental Features
|
||||||
|
### `okstd::log`
|
||||||
|
```rust
|
||||||
|
#[okstd::log(debug)]
|
||||||
|
fn something() {
|
||||||
|
debug!("Hello, world!");
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
|
```
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ok_macros"
|
name = "ok_macros"
|
||||||
version = "0.1.0"
|
version = "0.1.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
okstd.png
Normal file
BIN
okstd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 731 KiB |
Loading…
Reference in a new issue