tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

31 lignes · 1142 octetsBrut · Historique
1[package]
2name = "louise_rt_prims"
3description = "The Louise runtime's pure kernels and constants, shared with the reference interpreter and the compiler"
4version.workspace = true
5edition.workspace = true
6rust-version.workspace = true
7publish.workspace = true
8
9[features]
10default = ["crypto"]
11# `ring`, for the cryptographic hashes (src/crypto.rs): already linked for
12# TLS (ADR 0038), and `gc-sections` keeps it out of programs that never
13# hash. Off where no C cross-compiler is available (the no-qemu aarch64
14# check of scripts/ci.sh): ring's build script needs one, as mimalloc's
15# does (louise_rt's `mimalloc` feature).
16crypto = ["dep:ring"]
17# `libc`, for running programs (src/command.rs, ADR 0085): posix_spawn,
18# pidfds and timerfds. Linux only, as the runtime is.
19command = ["dep:libc"]
20
21[dependencies]
22# Big-integer intermediates for Dec's `*` and `/` (src/dec.rs): already
23# linked into every native program for `Int` (louise_rt's int.rs), so no
24# new weight.
25num-bigint.workspace = true
26num-traits.workspace = true
27ring = { version = "0.17", optional = true }
28libc = { version = "0.2", optional = true }
29
30[lints]
31workspace = true