Lots more updates
Also begin adding rust building capabilities to be able to write rust binaries for some commands.
This commit is contained in:
parent
624508dd14
commit
dd1cfa79e7
52 changed files with 2509 additions and 150 deletions
4
rust/lib/hakari/.gitattributes
vendored
Normal file
4
rust/lib/hakari/.gitattributes
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Avoid putting conflict markers in the generated Cargo.toml file, since their presence breaks
|
||||
# Cargo.
|
||||
# Also do not check out the file as CRLF on Windows, as that's what hakari needs.
|
||||
Cargo.toml merge=binary -crlf
|
25
rust/lib/hakari/Cargo.toml
Normal file
25
rust/lib/hakari/Cargo.toml
Normal file
|
@ -0,0 +1,25 @@
|
|||
# This file is generated by `cargo hakari`.
|
||||
# To regenerate, run:
|
||||
# cargo hakari generate
|
||||
|
||||
[package]
|
||||
name = "hakari"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "workspace-hack package, managed by hakari"
|
||||
# You can choose to publish this crate: see https://docs.rs/cargo-hakari/latest/cargo_hakari/publishing.
|
||||
publish = false
|
||||
|
||||
# The parts of the file between the BEGIN HAKARI SECTION and END HAKARI SECTION comments
|
||||
# are managed by hakari.
|
||||
|
||||
### BEGIN HAKARI SECTION
|
||||
[dependencies]
|
||||
anstream = { version = "0.6.19" }
|
||||
|
||||
[build-dependencies]
|
||||
proc-macro2 = { version = "1.0.95" }
|
||||
quote = { version = "1.0.40" }
|
||||
syn = { version = "2.0.104", features = ["full"] }
|
||||
|
||||
### END HAKARI SECTION
|
2
rust/lib/hakari/build.rs
Normal file
2
rust/lib/hakari/build.rs
Normal file
|
@ -0,0 +1,2 @@
|
|||
// A build script is required for cargo to consider build dependencies.
|
||||
fn main() {}
|
1
rust/lib/hakari/src/lib.rs
Normal file
1
rust/lib/hakari/src/lib.rs
Normal file
|
@ -0,0 +1 @@
|
|||
// This is a stub lib.rs.
|
Loading…
Add table
Add a link
Reference in a new issue