# Rename and stabilize \`std::dynamic\_lib\`?

**URL:** <https://internals.rust-lang.org/t/rename-and-stabilize-std-dynamic-lib/1741>\
**Category:** bikeshed (deprecated)\
**Created:** [March 21, 2015, 9:26am UTC](https://internals.rust-lang.org/t/rename-and-stabilize-std-dynamic-lib/1741 "2015-03-21T09:26:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CloudiDust](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/cloudidust/32/197_2.png) [@CloudiDust](https://internals.rust-lang.org/u/CloudiDust)\
**Post date:** [March 21, 2015, 9:26am UTC](https://internals.rust-lang.org/t/rename-and-stabilize-std-dynamic-lib/1741/1 "2015-03-21T09:26:45Z")

</div>

I was browsing the `std` docs and noticed that `std::dynamic_lib` was among the few std modules that were not yet marked `stable`. Is it going to stay this way for a while? And what prevents it from being stabilized?

There is also a naming problem, which has been brought up by @mzabaluev in [this thread](http://internals.rust-lang.org/t/rename-dynamic-lib-to-dylib/1297).

`dynamic_lib` seems a slightly arbitrary abbreviation of `dynamic_library`, especially when the type inside the module is called `DynamicLibrary`, while `dylib` is what Rust and Cargo _also_ uses.

Now that [RFC 909](https://github.com/rust-lang/rfcs/pull/909) is accepted, `dynamic_lib` will be the only top level `std` module to have an underscore in its name,

Such inconsistency is unnecessary.

I’d propose that we rename the module to `std::dylib` and the type to `Dylib`.

A good idea or not?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [March 25, 2019, 8:24am UTC](https://internals.rust-lang.org/t/rename-and-stabilize-std-dynamic-lib/1741/2 "2019-03-25T08:24:06Z")

</div>

Closed on March 25, 2019, 8:24am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
