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

Export list of named schemes #12

Open
flying-sheep opened this issue Sep 6, 2020 · 2 comments
Open

Export list of named schemes #12

flying-sheep opened this issue Sep 6, 2020 · 2 comments

Comments

@flying-sheep
Copy link

Would be nice if other packages could access the list of schemes you maintain.

@sgodwincs
Copy link
Owner

sgodwincs commented Mar 18, 2022

How would you like to access these? Just as a Vec<String>?

@flying-sheep
Copy link
Author

flying-sheep commented Mar 20, 2022

I’d guess a global static slice maybe? const SCHEMES: &[&str] = &["https", ...];

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

No branches or pull requests

2 participants