-
Cargo.toml:
```toml
[package]
name = "playground"
version = "0.1.0"
edition = "2018"
[dependencies]
lexical-core = "0.7"
```
lib.rs:
```rust
fn link_lexical_core() {
let _ = lexical_…
-
Code that handles user inputs (metadata, txs, qrs) should be improved.
It should not
1. AND, XOR or OR things with random undocumented numeric values such as `0x1000000`.
2. Panic on bad user inp…
-
Hi!
Thanks for helpful library!
Are there any plans to implement more higher-level and safe API?
I have kind of proposal but there are many details it lacks.
1. `Plugin` trait which defines …
-
Minimal example:
```
Waveform := Path {
height: 100px;
width: 100px;
MoveTo {
x: 0;
y: 0;
}
for sample[i] in [ 0, 1, 2, 3 ] : LineTo {
x: i;
y: sample;
}
C…
-
```
$ cargo contract build --output-json
2023-06-10T01:20:10.586663Z INFO contract_build: No changes in the original wasm at /home/kvin/codes/chain/phala/phat/proven/target/ink/wasm32-unknown-unkno…
-
Apologies if the answer to this is of the form "well obviously..." -- I don't have a ton of experience working with Rust yet. I'm interested in understanding why you implemented this as a syntax exten…
-
This issue is for discussion of proposal 2015-006 ([Additional string conversion functionality](https://github.com/SMLFamily/BasisLibrary/wiki/2015-006-Additional-string-conversion-functionality)).
-
There are two sides to this
Turning `std::process::Command` into errors
Providing a way to bubble up process exit codes to main
- Some times a user will want a `std::process::Command`s exit cod…
epage updated
3 years ago
-
# Proposal
## Problem statement
[`next_power_of_two`] is implemented for unsigned integers but no corresponding `prev_power_of_two` is available.
Some other common integral bit and power-of-2 o…
-
It looks that dot() function gives wrong result when used with complex numbers:
What I would expect:
```rust
let xs = Array::from_vec(vec![Complex::new(1., 1.), Complex::new(3., -1.)]);
assert!(…