doc: rename package name and publish to crates.io

This commit is contained in:
Artemy 2022-08-06 19:06:53 +03:00
parent 86ba8686b1
commit 93bdc94c32
3 changed files with 29 additions and 16 deletions

14
Cargo.lock generated
View file

@ -190,7 +190,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]] [[package]]
name = "on" name = "once_cell"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1"
[[package]]
name = "onla"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap", "clap",
@ -201,12 +207,6 @@ dependencies = [
"serde_yaml", "serde_yaml",
] ]
[[package]]
name = "once_cell"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1"
[[package]] [[package]]
name = "os_str_bytes" name = "os_str_bytes"
version = "6.2.0" version = "6.2.0"

View file

@ -1,9 +1,20 @@
[package] [package]
name = "on" name = "onla"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
author = ["artegoser"]
license = "MIT"
description = "A programming language running on json or yaml"
repository = "https://github.com/artegoser/ONLang"
homepage = "https://github.com/artegoser/ONLang"
documentation = "https://github.com/artegoser/ONLang/blob/master/doc/main.md"
readme = "./README.md"
keywords = ["programming-language", "interpreter", "yaml", "json", "json5"]
categories = ["compilers"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]]
name = "onla"
path = "src/main.rs"
[dependencies] [dependencies]
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }

View file

@ -12,18 +12,20 @@ ONLang is an experimental, esoteric programming language, that allows you to use
For writing simple scripts. For writing simple scripts.
## 3. How run scripts ## 3. How to write in this language
[Documentation](doc/main.md)
## Installing
## Using
1. Add the executable file to the path variable 1. Add the executable file to the path variable
2. `on example/example.json5` 2. `onla example/example.json5`
or or
1. Clone this repo 1. Clone this repo
2. `cargo run --quiet --release -- example/example.json5` 2. `cargo run --quiet --release -- example/example.json5`
## 4. How to write in this language
[Documentation](doc/main.md)
If you want to help create a pull request If you want to help create a pull request