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

feat: Removed dependency on Foundation #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bradhowes
Copy link

Description

Addresses issue #13

Removes Foundation dependency by replacing with Darwin (macOS) or Glibc (Linux), and providing a custom
String(format:...) constructor with one that is based on vsnprintf.

Originally used vasprintf per example code found in Apple doc, but Swift does not find this function in glibc.

How Has This Been Tested?

All existing tests pass, including testOutputPercentileDistributionPlainText which exercises the replacement function.

Minimal checklist:

  • [ X] I have performed a self-review of my own code
  • I have added DocC code-level documentation for any public interfaces exported by the package
  • I have added unit and/or integration tests that prove my fix is effective or that my feature works

@bradhowes bradhowes changed the title Removed dependency on Foundation feat: Removed dependency on Foundation Apr 15, 2024
@hassila hassila requested a review from dimlio June 20, 2024 17:51
@hassila
Copy link
Contributor

hassila commented Sep 7, 2024

Ping @dimlio

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