diff --git a/Cargo.lock b/Cargo.lock index 4cfccb3..f901144 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -724,7 +724,7 @@ dependencies = [ [[package]] name = "ok_macros" -version = "0.1.0" +version = "0.1.3" dependencies = [ "darling", "proc-macro2", @@ -735,7 +735,7 @@ dependencies = [ [[package]] name = "okstd" -version = "0.1.0" +version = "0.1.3" dependencies = [ "anyhow", "backtrace", diff --git a/Cargo.toml b/Cargo.toml index 29de2ac..3e5e9bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "okstd" -version = "0.1.0" +version = "0.1.3" edition = "2021" # 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" hex = "0.4.3" 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" serde = "*" serde_json = "*" diff --git a/README.md b/README.md new file mode 100644 index 0000000..f818a2a --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# okstd + + + +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!"); +} +``` \ No newline at end of file diff --git a/ok_macros/Cargo.toml b/ok_macros/Cargo.toml index 4c9e822..4b6595d 100644 --- a/ok_macros/Cargo.toml +++ b/ok_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ok_macros" -version = "0.1.0" +version = "0.1.3" edition = "2021" diff --git a/okstd.png b/okstd.png new file mode 100644 index 0000000..4f755e6 Binary files /dev/null and b/okstd.png differ