Extend the Standard Library #114

Open
opened 2025-11-14 19:44:11 +00:00 by ElhamAryanpur · 0 comments
ElhamAryanpur commented 2025-11-14 19:44:11 +00:00 (Migrated from github.com)

Astra Standard Library

These parts should be added to Astra either through Rust core or by providing Lua code. The same principles should also apply on performance, resource usage, and ease of use being priority. The full complexity should not be the aim. The Standard Library should not handle every possible scenario as it is an impossible task and possible bloats the rest of the runtime. The need for niche usage can be filled through libraries.

  • Serde:
    • YAML
    • JSON5
    • TOML
    • INI
    • CSV
    • XML
  • Crypto:
    • Argon2
    • Blake2
    • ChaCha20
  • Compression:
  • Image
  • #78
  • Net:
    • Mail
    • #112
    • URL parsing
    • RPC
  • Math:
    • Common
    • Number Array (Native/Non Native, Similar to numpy if possible)
  • Testing
  • Array (Not native, only utility methods)
  • String (Not native, only utility methods)
  • Random (Not native, only utility methods)
# Astra Standard Library These parts should be added to Astra either through Rust core or by providing Lua code. The same principles should also apply on performance, resource usage, and ease of use being priority. The full complexity should not be the aim. The Standard Library should not handle every possible scenario as it is an impossible task and possible bloats the rest of the runtime. The need for niche usage can be filled through libraries. * [x] **Serde**: * [x] YAML * [x] JSON5 * [x] TOML * [x] INI * [x] CSV * [x] XML * [ ] **Crypto**: * [ ] Argon2 * [ ] Blake2 * [ ] ChaCha20 * [ ] **Compression**: * [ ] [LZ4](https://github.com/PSeitz/lz4_flex) * [ ] [GZip](https://lib.rs/crates/flate2) * [ ] [Brotli](https://github.com/dropbox/rust-brotli) * [ ] **Image** * [ ] #78 * [ ] **Net**: * [ ] Mail * [ ] #112 * [ ] URL parsing * [ ] RPC * [ ] **Math**: * [ ] Common * [ ] Number Array (Native/Non Native, Similar to numpy if possible) * [ ] **Testing** * [ ] **Array** (Not native, only utility methods) * [ ] **String** (Not native, only utility methods) * [ ] **Random** (Not native, only utility methods)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ArkForgeLabs/Astra#114
No description provided.