Skip to content
SPECIFICTION
Get listed

Conan vs Dart pub

Conan

conan.io

Dart pub

dart.dev

Side by side

FigureConanDart pub
Price fromFree—
Free planYes—
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
iOSYes—
AndroidYes—
Plans published20
Spec score · Package Managers9.0 (#3)7.8 (#46)
Spec score · Package Management Software8.9 (#2)7.7 (#11)
Dependency resolutionYesPub manages dependency versions to find versions compatible with each other and with the Dart SDK version.
Free planYesYes
Lockfile supportYesYes
Offline installationYesYes
Package formatsConan recipes and binary packagesDart packages
Private registry authYesYes
Supported platformsLinux,Windows,macOS,Android,iOS,embedded and bare-metal targetsWindows,Linux,macOS
Workspace supportYesYes

Plans

Conan

  • ConanFree
  • Artifactory Community EditionFree

Conan pricing →

Dart pub

No plans published.

Dart pub pricing →

In their own words

Conan

Conan is a free, open-source package manager for C and C++ projects. It manages dependencies and binary packages through Conan recipes, with dependency resolution, lockfiles, workspaces, private registry authentication and offline installation. Binary configurations can vary by architecture, compiler and version, runtime, and C++ standard library. If a matching binary is unavailable, Conan can build from source on demand. It supports Windows, Linux, macOS, Android, iOS, embedded and bare-metal targets, as well as desktop, server and mobile platforms. Build integrations include CMake, MSBuild, Makefiles, Meson and SCons; other integrations include Docker, MinGW, WSL and JFrog Artifactory. Teams can share and reuse native binaries. Artifactory Community Edition offers self-hosted private package hosting, with a WebUI, authentication and permissions. Conan is released under the MIT License. The listed plan describes the package manager as free and open source; no price is stated for either plan.

Visit conan.io

Dart pub

Dart pub is Dart’s package manager for finding and managing shared libraries and tools. It resolves dependency versions compatible with one another and the installed Dart SDK, and records selected versions in a lockfile so application teams can keep dependency versions consistent. Packages may come from pub.dev, other hosted repositories, Git repositories, local paths, or supported SDKs. Developers can use pub through the dart or Flutter command-line tools, and most Dart-savvy IDEs support package workflows. The `dart pub publish` command uploads packages to pub.dev. Before publishing, pub checks for possible secret leaks using limited patterns and may warn or refuse publication; packages published to pub.dev cannot have Git or local path dependencies in their pubspec. Security advisories draw on the GitHub Advisory Database for Dart and Flutter packages. Pub can often resolve dependencies offline from its shared cache. It supports Windows, Linux, and macOS, and is free and open source.

Visit dart.dev