Skip to content

Do not require default features in nix#5

Open
tgockel wants to merge 1 commit into
viraptor:masterfrom
tgockel:feature/nix/no-default-features
Open

Do not require default features in nix#5
tgockel wants to merge 1 commit into
viraptor:masterfrom
tgockel:feature/nix/no-default-features

Conversation

@tgockel

@tgockel tgockel commented Aug 1, 2023

Copy link
Copy Markdown

This library does not require any features to be enabled in nix to work properly.

The nix crate has a lot of features enabled in its default, which can cause problems if a downstream user does not want those enabled. I suspect nix was less feature-filled when this crate was last released 7 years ago, but now nix is quite large.

This library does not require any features to be enabled in nix to work
properly.

@asomers asomers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a definite improvement. However, it should also not use the * version. As a pre-1.0 crate, Nix does not guarantee API stability between minor versions. So prctl really needs to specify more exactly the range of compatible Nix versions.

@tgockel

tgockel commented Nov 16, 2023

Copy link
Copy Markdown
Author

I don't know what the best practice for specifying that for pre-1.0 things is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants