Skip to content

Expose metadata and pointer_path methods#136

Merged
danieldk merged 7 commits into
huggingface:mainfrom
danieldk:st-browser-needed-functions
Jan 19, 2026
Merged

Expose metadata and pointer_path methods#136
danieldk merged 7 commits into
huggingface:mainfrom
danieldk:st-browser-needed-functions

Conversation

@danieldk

Copy link
Copy Markdown
Member

I have used/needed these useful methods in safetensors-browser. Making them visible in the official crate makes it possible to upload safetensors-browser to crates.io again.

Comment thread src/api/tokio.rs
.expect("failed to build API");

let repo = api.model("google-bert/bert-base-uncased".to_string());
let repo = api.model("danieldk/private-test".to_string());

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

google-bert/bert-base-uncased seems to be public now, so I just made a private repo.

@McPatate McPatate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm!

@danieldk danieldk merged commit 5510260 into huggingface:main Jan 19, 2026
3 checks passed
@danieldk danieldk deleted the st-browser-needed-functions branch January 19, 2026 18:26
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