moriturus/ktra

Your Little Cargo Registry

Rust

433

57 commits

updated Apr 25, 2026

See the code

README

Ktra 🚚 ktra at crates.io

Your Little Cargo Registry.

Ktra is an implementation of the Alternate Registry that is introduced for non-public crates in Rust/Cargo 1.34.

In other words, Ktra is an all-in-one package for the private cargo registry.

Documentations

Docker images

docker pull ghcr.io/moriturus/ktra:latest

All of the docker images are stored at GitHub Container Registry.
These are public images so you can pull them without any authentication.

Any commit on develop branch builds images listed below:

  • latest
    • db-sled featured image.
  • openid-latest
    • db-sled featured image.
    • openid support for authentication
  • db-redis-latest
    • db-redis featured image.
  • db-redis-openid-latest
    • db-redis featured image.
    • openid support for authentication
  • db-mongo-latest
    • db-mongo featured image.
  • db-mongo-openid-latest
    • db-mongo featured image.
    • openid support for authentication

Similarly, images below are built automatically when tags are pushed:

  • {VERSION} (e.g. 0.4.3)
    • db-sled featured image.
  • openid-{VERSION}
    • db-sled featured image.
    • openid support for authentication
  • db-redis-{VERSION}
    • db-redis featured image.
  • db-redis-openid-{VERSION}
    • db-redis featured image.
    • openid support for authentication
  • db-mongo-{VERSION}
    • db-mongo featured image.
  • db-mongo-openid-{VERSION}
    • db-mongo featured image.
    • openid support for authentication

Please see "Installation: Docker" page in The Ktra Book for more details.

Features

Current

From 0.1.0

  • Minimum Alternate Registry implementation.
  • Sled as its internal database.
    • via db-sled feature turned on by default.
  • Almost pure Rust.

From 0.2.0

  • Secure user management.

From 0.4.0

  • Redis support.
    • via db-redis feature.

From 0.4.2

  • MongoDB support.
    • via db-mongo feature.

From 0.5.0

From 0.7.0

  • OpenID support for auto-discoverable identity providers (e.g. Gitlab, not Github)

Planned

And any feature requests are welcome!

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

cargo-registry
crates
registry
rust

Project health

Overall

2.9/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

crates.io

Latest release

0.7.0 · Dec 31, 2022

Releases this year

0

Significant stargazers

Luca Palmieri

3,341 followers · starred Apr 2023

Robin Appelman

223 followers · starred Oct 2021

Naoya Hatta

401 followers · starred Oct 2020

Michael Bryan

393 followers · starred Jan 2022

moriturus/ktra

Your Little Cargo Registry

Rust

433

57 commits

updated Apr 25, 2026

See the code

README

Ktra 🚚 ktra at crates.io

Your Little Cargo Registry.

Ktra is an implementation of the Alternate Registry that is introduced for non-public crates in Rust/Cargo 1.34.

In other words, Ktra is an all-in-one package for the private cargo registry.

Documentations

Docker images

docker pull ghcr.io/moriturus/ktra:latest

All of the docker images are stored at GitHub Container Registry.
These are public images so you can pull them without any authentication.

Any commit on develop branch builds images listed below:

  • latest
    • db-sled featured image.
  • openid-latest
    • db-sled featured image.
    • openid support for authentication
  • db-redis-latest
    • db-redis featured image.
  • db-redis-openid-latest
    • db-redis featured image.
    • openid support for authentication
  • db-mongo-latest
    • db-mongo featured image.
  • db-mongo-openid-latest
    • db-mongo featured image.
    • openid support for authentication

Similarly, images below are built automatically when tags are pushed:

  • {VERSION} (e.g. 0.4.3)
    • db-sled featured image.
  • openid-{VERSION}
    • db-sled featured image.
    • openid support for authentication
  • db-redis-{VERSION}
    • db-redis featured image.
  • db-redis-openid-{VERSION}
    • db-redis featured image.
    • openid support for authentication
  • db-mongo-{VERSION}
    • db-mongo featured image.
  • db-mongo-openid-{VERSION}
    • db-mongo featured image.
    • openid support for authentication

Please see "Installation: Docker" page in The Ktra Book for more details.

Features

Current

From 0.1.0

  • Minimum Alternate Registry implementation.
  • Sled as its internal database.
    • via db-sled feature turned on by default.
  • Almost pure Rust.

From 0.2.0

  • Secure user management.

From 0.4.0

  • Redis support.
    • via db-redis feature.

From 0.4.2

  • MongoDB support.
    • via db-mongo feature.

From 0.5.0

From 0.7.0

  • OpenID support for auto-discoverable identity providers (e.g. Gitlab, not Github)

Planned

And any feature requests are welcome!

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

cargo-registry
crates
registry
rust

Project health

Overall

2.9/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

crates.io

Latest release

0.7.0 · Dec 31, 2022

Releases this year

0

Significant stargazers

Luca Palmieri

3,341 followers · starred Apr 2023

Robin Appelman

223 followers · starred Oct 2021

Naoya Hatta

401 followers · starred Oct 2020

Michael Bryan

393 followers · starred Jan 2022