Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the option for an external formatter in nls #2064

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

jneem
Copy link
Member

@jneem jneem commented Oct 8, 2024

Fixes #2062.

@jneem jneem requested a review from yannham October 8, 2024 15:16
@github-actions github-actions bot temporarily deployed to pull request October 8, 2024 15:21 Inactive
@@ -14,10 +14,6 @@ version.workspace = true
name = "nls"
path = "src/main.rs"

[features]
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure we want to remove the format feature though. I think the rationale around features right now is to leave the possibility to build a minimal nickel interpreter that can be embedded say on a server, which doesn't need to format, render markdown, etc. - so anything that isn't strictly necessary and pulls in a non trivial set of dependencies is probably better kept behind a feature gate.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is just the nls format feature, though. Is there a need for a minimal nls?

Copy link
Member

Choose a reason for hiding this comment

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

Ah, you're right, my bad.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

🐰 Bencher Report

Branch2064/merge
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
fibonacci 10📈 view plot
⚠️ NO THRESHOLD
489,900.00
pidigits 100📈 view plot
⚠️ NO THRESHOLD
3,197,200.00
product 30📈 view plot
⚠️ NO THRESHOLD
843,750.00
scalar 10📈 view plot
⚠️ NO THRESHOLD
1,540,200.00
sum 30📈 view plot
⚠️ NO THRESHOLD
832,550.00
🐰 View full continuous benchmarking report in Bencher

@yannham yannham added this pull request to the merge queue Oct 9, 2024
Merged via the queue into master with commit 98d7abe Oct 9, 2024
7 checks passed
@yannham yannham deleted the no-external-formatter branch October 9, 2024 12:38
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.

Building nls with --no-default-features fails.
2 participants