Giter Club home page Giter Club logo

Comments (7)

dlrobertson avatar dlrobertson commented on August 15, 2024

Can't speak too much to the other points, but I'm happy to aid in maintaining libcasper support in capsicum. I am curious about the benefits of adding libcasper support to capsicum vs creating a libcasper crate that depends on capsicum-rs.

from sysctl-rs.

asomers avatar asomers commented on August 15, 2024

Well, nobody will ever use libcasper without using capsicum. There are, however, plenty of use cases for capsicum that don't require libcasper. But shorn of its services, libcasper is pretty small. IMHO it doesn't require a standalone crate. What about adding it to capsicum-rs, but gated by a feature flag?

from sysctl-rs.

dlrobertson avatar dlrobertson commented on August 15, 2024

Thanks! That makes sense.

from sysctl-rs.

johalun avatar johalun commented on August 15, 2024

Thanks for the suggestion! I like it and it seems you thought about all the questions I would have. Not a fan of the global variable for the casper connection but if it's between that and breaking the API I prefer not breaking the API.

Having it behind an target_os gate and not feature flag seems OK to me (but not for all unix since I don't think macOS/iOS has this right?).

from sysctl-rs.

asomers avatar asomers commented on August 15, 2024

Correct. Capsicum is FreeBSD only. There was a Linux port, but I don't think it's complete or currently maintained.

from sysctl-rs.

asomers avatar asomers commented on August 15, 2024

Status update: I've gotten Casper working on a different real-world project (but not cap_sysctl). But I actually no longer have a personal need for cap_sysctl, so I'm going to deprioritize that part. Currently I'm blocked by a few PRs at https://github.com/Inner-Heaven/libnv-rs/ before we can integrate this into the capsicum-rs crate.

from sysctl-rs.

dlrobertson avatar dlrobertson commented on August 15, 2024

👍 Thanks for working on this and adding an update

from sysctl-rs.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.