Using ruff as a Rust library #8755
Unanswered
realitycheck
asked this question in
Q&A
Replies: 1 comment
-
Hi! Ruff is not intended to be used from Rust yet i.e. we do not have a public Rust API and we are not publishing to crates.io. There's some intention to allow programmatic access to Ruff outside the CLI in the future, but we are not prioritizing that work right now. In large part, the concern is that we are not ready to stabilize these APIs and would rather focus on improving the current public user interface. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
AFAIK, there are a lot of
pub(crate)
statements in ruff_cli crate instead of justpub
which definitely preventing to use ruff as a Rust library.Is this intentional design approach? What's the authors' concern here?
Beta Was this translation helpful? Give feedback.
All reactions