Split monolithic raw crates into sys crates
Creating a crate for bwd-gc highlights the fact that it would be nice to fix 2! The file blocklist is a lost less unmaintainable then the more fine-grained one we had before. Fix #9
This commit is contained in:
parent
485070ffa9
commit
dbb00333b1
51 changed files with 571 additions and 104 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nix-bindings-flake"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
license = "LGPL-2.1"
|
||||
description = "Rust bindings to Nix flakes"
|
||||
|
|
@ -11,11 +11,11 @@ path = "src/lib.rs"
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
nix-bindings-expr = { path = "../nix-bindings-expr", version = "0.1.1" }
|
||||
nix-bindings-fetchers = { path = "../nix-bindings-fetchers", version = "0.1.1" }
|
||||
nix-bindings-store = { path = "../nix-bindings-store", version = "0.1.1" }
|
||||
nix-bindings-util = { path = "../nix-bindings-util", version = "0.1.1" }
|
||||
nix-bindings-util-sys = { path = "../nix-bindings-util-sys", version = "0.1.1" }
|
||||
nix-bindings-expr = { path = "../nix-bindings-expr", version = "0.2.0" }
|
||||
nix-bindings-fetchers = { path = "../nix-bindings-fetchers", version = "0.2.0" }
|
||||
nix-bindings-store = { path = "../nix-bindings-store", version = "0.2.0" }
|
||||
nix-bindings-util = { path = "../nix-bindings-util", version = "0.2.0" }
|
||||
nix-bindings-flake-sys = { path = "../nix-bindings-flake-sys", version = "0.2.0" }
|
||||
lazy_static = "1.4"
|
||||
ctor = "0.2"
|
||||
tempfile = "3.10"
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ use std::{ffi::CString, os::raw::c_char, ptr::NonNull};
|
|||
use anyhow::{Context as _, Result};
|
||||
use nix_bindings_expr::eval_state::EvalState;
|
||||
use nix_bindings_fetchers::FetchersSettings;
|
||||
use nix_bindings_flake_sys as raw;
|
||||
use nix_bindings_util::{
|
||||
context::{self, Context},
|
||||
result_string_init,
|
||||
string_return::{callback_get_result_string, callback_get_result_string_data},
|
||||
};
|
||||
use nix_bindings_util_sys as raw;
|
||||
|
||||
/// Store settings for the flakes feature.
|
||||
pub struct FlakeSettings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue