Skip to content

Commit

Permalink
Created : Rust init
Browse files Browse the repository at this point in the history
  • Loading branch information
PtPrashantTripathi committed May 31, 2023
1 parent 24ebe99 commit 939279c
Show file tree
Hide file tree
Showing 5 changed files with 327 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

[target.i686-unknown-linux-gnu]
linker = "i686-linux-gnu-gcc"

[target.x86_64-unknown-linux-musl]
linker = "musl-gcc"

[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
12 changes: 12 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
max_width = 100
tab_spaces = 4
edition = "2021"
reorder_impl_items = true
reorder_modules = true
reorder_imports = true
format_strings = true
normalize_comments = true
imports_granularity = "Item"
group_imports = "StdExternalCrate"
unstable_features = true
newline_style = "Unix"
265 changes: 265 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[workspace]
resolver = "2"
members = ["cli", "core", "wasm"]
default-members = ["cli", "core"]

[workspace.metadata]
name = "vedic"
version = "2.4.1"
authors = ["Pt. Prashant Tripathi <[email protected]>"]
edition = "2021"
description = "Vedic is World first Programming launguage in Sanskrit"
license = "MIT"
repository = "https://github.com/vedic-lang/vedic"
documentation = "https://github.com/vedic-lang/vedic"
readme = "README.md"
keywords = ["vedic", "cli", "rust","command-line-utilities","programming-languages","sanskrit","vedic","interpreter","compiler"]
categories = ["command-line-utilities"]

[profile.release]
codegen-units = 1
incremental = true
lto = true
opt-level = 'z'
overflow-checks = true
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
profile = "default"

0 comments on commit 939279c

Please sign in to comment.